Class PEMIdentitySource

java.lang.Object
com.netflix.spinnaker.kork.crypto.PEMIdentitySource
All Implemented Interfaces:
X509IdentitySource

public class PEMIdentitySource extends Object implements X509IdentitySource
Implements an identity source based on a PEM-encoded private key and certificate file. Private keys must not be encrypted (e.g., they must include the -nodes option when generating them via OpenSSL). The certificate file must use the same key algorithm as the private key file. Supported key algorithms include RSA and EC.