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.
Metadata
Release files for safeguardcredentialtype 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| safeguardcredentialtype-2.0.1.tar.gz | 9.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| safeguardcredentialtype-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 kB
Release files / safeguardcredentialtype-2.0.1.tar.gz
| Download URL | safeguardcredentialtype-2.0.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db98999032d3720f683708bfc9dc936e5c086a895ad747ebd97b6386cfa36e52
|
|
BLAKE2b-256 checksum How to use checksums |
e26adfacf264d8c47ebf35118dea1bb490825c5dfd3a0e4b237f09f01b274de5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / safeguardcredentialtype-2.0.1-py3-none-any.whl
| Download URL | safeguardcredentialtype-2.0.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3daeb3c0a8fdb20126e7395ace80fa06674b893838a05c4e1d4e49a49b6a1814
|
|
BLAKE2b-256 checksum How to use checksums |
3fc8b103cd6821a2033c93cb5b55439bf756a9b25716cbe591e76999b26c7841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for safeguardcredentialtype 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.