BarbicanClientManager
(tempest_client_mgr)[source]¶Bases: object
Class for interacting with the barbican service.
This class is an abstraction for interacting with the barbican service. This class currently uses the barbican client code to access barbican due to the following reasons: 1. Octavia users typically load secrets into barbican via the client. 2. The barbican-tempest-plugin is lightly tested (no py3 tests, etc.). 3. barbican-tempest-plugin is not in global requirements.
This led to the decision to not use the service client in the barbican-tempest-plugin.
In the future it may be better to use the barbican-tempest-plugin service client or the openstacksdk.
generate_ca_cert_and_key
()[source]¶Creates a CA cert and key for testing.
Returns: | The cryptography CA cert and CA key objects. |
---|
generate_pkcs12_bundle
(server_cert, server_key)[source]¶Creates a pkcs12 formated bundle.
Parameters: |
|
---|---|
Returns: | A pkcs12 bundle. |
generate_server_cert_and_key
(ca_cert, ca_key, server_uuid)[source]¶Creates a server cert and key for testing.
Parameters: |
|
---|---|
Returns: | The cryptography server cert and key objects. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.