Class GcpIamAuthenticationSupport

java.lang.Object
org.springframework.vault.authentication.GcpIamAuthenticationSupport
Direct Known Subclasses:
GcpIamAuthenticationOptions, GcpIamCredentialsAuthenticationOptions

public abstract class GcpIamAuthenticationSupport extends Object
Support class for Google Cloud IAM-based Authentication options.

Mainly to support implementations within the framework.

Since:
2.3.2
Author:
Mark Paluch
See Also:
  • Constructor Details

    • GcpIamAuthenticationSupport

      protected GcpIamAuthenticationSupport(String path, String role, Duration jwtValidity, Clock clock)
  • Method Details

    • getPath

      public String getPath()
      Returns:
      the path of the gcp authentication backend mount.
    • getRole

      public String getRole()
      Returns:
      name of the role against which the login is being attempted.
    • getJwtValidity

      public Duration getJwtValidity()
      Returns:
      Duration of the JWT to generate.
    • getClock

      public Clock getClock()
      Returns:
      Clock used to calculate epoch seconds until the JWT expires.