Table of Contents

Class CredHubHostBuilderExtensions

Namespace
Steeltoe.Security.DataProtection.CredHub
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

webHostBuilder IWebHostBuilder

Your app's host builder

loggerFactory ILoggerFactory

To enable logging in the credhub client, pass in a loggerfactory

Returns

IWebHostBuilder

Your application's host builder with credentials interpolated