Class HttpHeaderGoogleConfigProvider
java.lang.Object
org.springframework.cloud.config.server.environment.secretmanager.HttpHeaderGoogleConfigProvider
- All Implemented Interfaces:
GoogleConfigProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The Config Token ID Header admited to get the access token from the client.static final String
The prefix we should search for in secrets to take them into account.static final String
The Project ID Header admited to get the project name for google cloud secret manager. -
Constructor Summary
ConstructorsConstructorDescriptionHttpHeaderGoogleConfigProvider
(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request) -
Method Summary
-
Field Details
-
PROJECT_ID_HEADER
The Project ID Header admited to get the project name for google cloud secret manager.- See Also:
-
ACCESS_TOKEN_HEADER
The Config Token ID Header admited to get the access token from the client.- See Also:
-
PREFIX_HEADER
The prefix we should search for in secrets to take them into account.- See Also:
-
-
Constructor Details
-
HttpHeaderGoogleConfigProvider
public HttpHeaderGoogleConfigProvider(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request)
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceGoogleConfigProvider
-