Skip to content

Instantly share code, notes, and snippets.

@whip113
Last active October 9, 2018 21:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whip113/14e8bdbf558a7cc6b492a35c3a24fb89 to your computer and use it in GitHub Desktop.
Save whip113/14e8bdbf558a7cc6b492a35c3a24fb89 to your computer and use it in GitHub Desktop.
Custom Credentials for Ansible Tower - CyberArk Client Certificate
"name": "Cyberark Client Certificate",
"description": "",
"kind": "cloud",
"managed_by_tower": false,
"inputs": {
"fields": [
{
"label": "Client Certificate",
"secret": true,
"multiline": true,
"help_text": "Paste the contents of the client certificate for the Tower Cluster",
"type": "string",
"id": "client_cert"
}
],
"required": [
"client_cert"
]
},
"injectors": {
"file": {
"template": "{{client_cert}}"
},
"env": {
"CLIENT_CERTIFICATE": "{{tower.filename}}"
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment