Interface ServiceIdentityProvider

All Known Implementing Classes:
AthenzIdentityProviderImpl, SiaIdentityProvider

public interface ServiceIdentityProvider
A interface for types that provides the Athenz service identity (SIA) from the environment. Some similarities to AthenzIdentityProvider, but this type is not public API and intended for internal use.
Author:
bjorncs
  • Method Details

    • identity

      AthenzIdentity identity()
      Returns:
      The Athenz identity of the environment
    • getIdentitySslContext

      SSLContext getIdentitySslContext()
      Returns:
      SSLContext that is automatically updated.
    • getIdentityCertificateWithKey

      com.yahoo.security.X509CertificateWithKey getIdentityCertificateWithKey()
      Returns:
      Current certificate and private key. Unlike getIdentitySslContext() underlying credentials are not automatically updated.
    • certificatePath

      Path certificatePath()
      Returns:
      Path to X.509 certificate in PEM format
    • privateKeyPath

      Path privateKeyPath()
      Returns:
      Path to private key in PEM format