Class CredHubHostBuilderExtensions
- Namespace
- Steeltoe.Security.DataProtection.CredHubCore
- Assembly
- Steeltoe.Security.DataProtection.CredHubCore.dll
public static class CredHubHostBuilderExtensions
- Inheritance
-
CredHubHostBuilderExtensions
- Inherited Members
Methods
UseCredHubInterpolation(IWebHostBuilder, ILoggerFactory)
Reach out to a CredHub server to interpolate credentials found in VCAP_SERVICES
public static IWebHostBuilder UseCredHubInterpolation(this IWebHostBuilder webHostBuilder, ILoggerFactory loggerFactory = null)
Parameters
webHostBuilderIWebHostBuilderYour app's host builder
loggerFactoryILoggerFactoryTo enable logging in the credhub client, pass in a loggerfactory
Returns
- IWebHostBuilder
Your application's host builder with credentials interpolated