Class HttpHeaderGoogleConfigProvider

java.lang.Object
org.springframework.cloud.config.server.environment.secretmanager.HttpHeaderGoogleConfigProvider
All Implemented Interfaces:
GoogleConfigProvider

public class HttpHeaderGoogleConfigProvider extends Object implements GoogleConfigProvider
  • Field Details

    • PROJECT_ID_HEADER

      public static final String PROJECT_ID_HEADER
      The Project ID Header admited to get the project name for google cloud secret manager.
      See Also:
    • ACCESS_TOKEN_HEADER

      public static final String ACCESS_TOKEN_HEADER
      The Config Token ID Header admited to get the access token from the client.
      See Also:
    • PREFIX_HEADER

      public static final String 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