mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 06:58:06 -03:30
303 B
303 B
Extract credentials
Credentials and encrypted settings can be extracted using the following snippet:
# awx-manage shell_plus
>>> from awx.main.utils import decrypt_field
>>> cred = Credential.objects.get(name="my private key")
>>> decrypt_field(cred, "ssh_key_data")