octavia.certificates.common package

octavia.certificates.common package

Subpackages

Submodules

octavia.certificates.common.barbican module

Common classes for Barbican certificate handling

class BarbicanAuth[source]

Bases: object

abstract 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

abstract 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

abstract 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.

abstract get_certificate()[source]

Returns the certificate.

abstract get_intermediates()[source]

Returns the intermediate certificates as a list.

abstract get_private_key()[source]

Returns the private key for the certificate.

abstract 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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.