Last active
October 9, 2018 21:13
-
-
Save whip113/a788a4c7bcb5118093a372dc42f10e0c to your computer and use it in GitHub Desktop.
Custom Credential for Ansible Tower - Conjur Identity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"name": "Conjur API Key", | |
"description": "", | |
"kind": "cloud", | |
"managed_by_tower": false, | |
"inputs": { | |
"fields": [ | |
{ | |
"secret": true, | |
"type": "string", | |
"id": "api_key", | |
"label": "API Key" | |
}, | |
{ | |
"type": "string", | |
"id": "account", | |
"label": "Conjur Acct" | |
}, | |
{ | |
"type": "string", | |
"id": "appliance_url", | |
"label": "Appliance Url" | |
}, | |
{ | |
"label": "Conjur Certificate", | |
"secret": true, | |
"multiline": true, | |
"help_text": "Paste the contents of the PEM file associated with the Conjur Appliance.", | |
"type": "string", | |
"id": "conjur_ca_cert" | |
} | |
], | |
"required": [ | |
"api_key", | |
"account", | |
"appliance_url" | |
] | |
}, | |
"injectors": { | |
"file": { | |
"template": "{{ conjur_ca_cert }}" | |
}, | |
"env": { | |
"CONJUR_APPLIANCE_URL": "{{appliance_url}}", | |
"CONJUR_ACCOUNT": "{{account}}", | |
"CONJUR_AUTHN_API_KEY": "{{api_key}}", | |
"CLIENT_CERTIFICATE": "{{ tower.filename }}" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment