One Identity Safeguard Credential Type plugin for Ansible
Project description
Safeguard Credential Type plugin for Ansible
What is the Safeguard Credential Type plugin?
The Safeguard Credential Type plugin is a plugin that is installed and used by the AWX web interface to fetch credentials from Safeguard for Privileged Passwords (SPP). Once installed, a new credential type plugin will appear in the drop-own list Resources > Credentials > Create New Credential page. A Safeguard Credential type can be used to fetch a credential from SPP by configuring the following values:
- Safeguard Credential API key - The API key is generated by SPP when an A2A registration is created. The API key identifies a specific credential which can be fetched by a third-party application from SPP through the A2A interface.
- Safeguard Appliance IP or Host name - The IP address or host name of the SPP appliance.
- Safeguard client certificate file path - The full path to the user authentication certificate (PEM format).
- Safeguard client key file path - The full path to the user authentication private key (PEM format). NOTE: It is the responsibility of the Ansible administrator to make sure that the private key is stored in a safe location and can only be read by Ansible.
- Safeguard CA certificate file path (optional) - Full path to a CA certificate bundle for TLS verification of the SPP appliance. When provided, overrides the system CA store.
- Validate TLS certificates (optional) - Whether to validate TLS certificates (default: true). Set to false only for testing with self-signed certificates.
- Safeguard credential type to retrieve (optional) - Specify the credential type to retrieve from SPP. The options are password (default) or privatekey.
To fetch a credential from SPP, an A2A registration must have been created in SPP. For more information about how to create an A2A registration, please see the Safeguard for Privileged Passwords Administration Guide for your version of SPP (https://support.oneidentity.com/technical-documents).
Installation
The installation of the Safeguard Credential Type plugin must be done on the server that is running the Ansible Automation Platform web interface. The plugin can be installed by running the following commands:
> sudo awx-python -m pip install safeguardcredentialtype
> sudo awx-manage setup_managed_credential_types
> sudo automation-controller-service restart
Upgrading AWX / Ansible Automation Platform
After upgrading AWX or Ansible Automation Platform, the Python virtual environment may be recreated. If this happens, the Safeguard Credential Type plugin and its dependencies must be reinstalled:
> sudo awx-python -m pip install safeguardcredentialtype
> sudo awx-manage setup_managed_credential_types
> sudo automation-controller-service restart
If you see KeyError: 'spp_plugin' in the AWX logs after an upgrade, this indicates the plugin is not installed in the current Python environment. Running the commands above will resolve the issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file safeguardcredentialtype-2.0.1.tar.gz.
File metadata
- Download URL: safeguardcredentialtype-2.0.1.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db98999032d3720f683708bfc9dc936e5c086a895ad747ebd97b6386cfa36e52
|
|
| MD5 |
6fbe7991acb9c9268cf81e32636adf58
|
|
| BLAKE2b-256 |
e26adfacf264d8c47ebf35118dea1bb490825c5dfd3a0e4b237f09f01b274de5
|
File details
Details for the file safeguardcredentialtype-2.0.1-py3-none-any.whl.
File metadata
- Download URL: safeguardcredentialtype-2.0.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3daeb3c0a8fdb20126e7395ace80fa06674b893838a05c4e1d4e49a49b6a1814
|
|
| MD5 |
5634e5b6921fffe0f83312d3ab0d552a
|
|
| BLAKE2b-256 |
3fc8b103cd6821a2033c93cb5b55439bf756a9b25716cbe591e76999b26c7841
|