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 Detail

      • identity

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

        javax.net.ssl.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

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

        java.nio.file.Path privateKeyPath()
        Returns:
        Path to private key in PEM format
      • athenzTruststorePath

        java.nio.file.Path athenzTruststorePath()
        Returns:
        Path to Athenz truststore in PEM format
      • clientTruststorePath

        java.nio.file.Path clientTruststorePath()
        The client truststore contains the Athenz certificates from athenzTruststorePath() and additional certificate authorities that issues trusted server certificates.
        Returns:
        Path to client truststore in PEM format