octavia.certificates.common package
Submodules
octavia.certificates.common.barbican module
Common classes for Barbican certificate handling
-
class
BarbicanAuth
[source]
Bases: object
-
ensure_secret_access
(context, ref)[source]
Do whatever steps are necessary to ensure future access to a secret.
Parameters: |
- context – pecan context object
- ref – Reference to a Barbican object
|
-
get_barbican_client
(project_id)[source]
Creates a Barbican client object.
Parameters: | project_id – Project ID that the request will be used for |
Returns: | a Barbican Client object |
Raises: | Exception – if the client cannot be created |
-
revoke_secret_access
(context, ref)[source]
Revoke access of Octavia keystone user to a secret.
Parameters: |
- context – pecan context object
- ref – Reference to a Barbican object
|
-
class
BarbicanCert
(cert_container)[source]
Bases: octavia.certificates.common.cert.Cert
Representation of a Cert based on the Barbican CertificateContainer.
-
get_certificate
()[source]
Returns the certificate.
-
get_intermediates
()[source]
Returns the intermediate certificates as a list.
-
get_private_key
()[source]
Returns the private key for the certificate.
-
get_private_key_passphrase
()[source]
Returns the passphrase for the private key.
octavia.certificates.common.cert module
-
class
Cert
[source]
Bases: object
Base class to represent all certificates.
-
get_certificate
()[source]
Returns the certificate.
-
get_intermediates
()[source]
Returns the intermediate certificates as a list.
-
get_private_key
()[source]
Returns the private key for the certificate.
-
get_private_key_passphrase
()[source]
Returns the passphrase for the private key.
octavia.certificates.common.local module
Common classes for local filesystem certificate handling
-
class
LocalCert
(certificate, private_key, intermediates=None, private_key_passphrase=None)[source]
Bases: octavia.certificates.common.cert.Cert
Representation of a Cert for local storage.
-
get_certificate
()[source]
Returns the certificate.
-
get_intermediates
()[source]
Returns the intermediate certificates as a list.
-
get_private_key
()[source]
Returns the private key for the certificate.
-
get_private_key_passphrase
()[source]
Returns the passphrase for the private key.
octavia.certificates.common.pkcs12 module
Common classes for pkcs12 based certificate handling
-
class
PKCS12Cert
(certbag)[source]
Bases: octavia.certificates.common.cert.Cert
Representation of a Cert for local storage.
-
get_certificate
()[source]
Returns the certificate.
-
get_intermediates
()[source]
Returns the intermediate certificates as a list.
-
get_private_key
()[source]
Returns the private key for the certificate.
-
get_private_key_passphrase
()[source]
Returns the passphrase for the private key.
Module contents