Package com.yahoo.vespa.athenz.identity
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 toAthenzIdentityProvider
, but this type is not public API and intended for internal use.- Author:
- bjorncs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Path
athenzTruststorePath()
Path
certificatePath()
Path
clientTruststorePath()
The client truststore contains the Athenz certificates fromathenzTruststorePath()
and additional certificate authorities that issues trusted server certificates.com.yahoo.security.X509CertificateWithKey
getIdentityCertificateWithKey()
SSLContext
getIdentitySslContext()
AthenzIdentity
identity()
Path
privateKeyPath()
-
-
-
Method Detail
-
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
-
athenzTruststorePath
Path athenzTruststorePath()
- Returns:
- Path to Athenz truststore in PEM format
-
clientTruststorePath
Path clientTruststorePath()
The client truststore contains the Athenz certificates fromathenzTruststorePath()
and additional certificate authorities that issues trusted server certificates.- Returns:
- Path to client truststore in PEM format
-
-