Skip to content

Instantly share code, notes, and snippets.

@whip113
Last active October 9, 2018 21:14
Show Gist options
  • Save whip113/62af4e23e62e41ae3881f310548b90e4 to your computer and use it in GitHub Desktop.
Save whip113/62af4e23e62e41ae3881f310548b90e4 to your computer and use it in GitHub Desktop.
Custom Credentials for Ansible Tower - CyberArk Private Key
"name": "CyberArk Private Key",
"description": "Uses client certificate authentication to CyberArk CCP",
"kind": "cloud",
"managed_by_tower": false,
"inputs": {
"fields": [
{
"label": "Private Key",
"secret": true,
"multiline": true,
"help_text": "Paste the contents of the private key for the Tower Cluster",
"type": "string",
"id": "priv_key"
}
],
"required": [
"priv_key"
]
},
"injectors": {
"file": {
"template": "{{priv_key}}"
},
"env": {
"CLIENT_KEY": "{{tower.filename}}"
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment