public class HttpHeaderGoogleConfigProvider extends Object implements GoogleConfigProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESS_TOKEN_HEADER
The Config Token ID Header admited to get the access token from the client.
|
static String |
PREFIX_HEADER
The prefix we should search for in secrets to take them into account.
|
static String |
PROJECT_ID_HEADER
The Project ID Header admited to get the project name for google cloud secret
manager.
|
| Constructor and Description |
|---|
HttpHeaderGoogleConfigProvider(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request) |
public static final String PROJECT_ID_HEADER
public static final String ACCESS_TOKEN_HEADER
public static final String PREFIX_HEADER
public HttpHeaderGoogleConfigProvider(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request)
public String getValue(String key, Boolean mandatory)
getValue in interface GoogleConfigProviderCopyright © 2021 Pivotal Software, Inc.. All rights reserved.