Created
July 8, 2020 11:48
-
-
Save weiyentan/0195ea34a66c3fdbf3a8cc84e0d0587f to your computer and use it in GitHub Desktop.
This file contains 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
--- | |
tower_credential_types: | |
- name: SSH_Credential | |
description: Custom SSH Credential | |
inputs: | |
fields: | |
- secret: true | |
type: string | |
id: my_private_key | |
label: "Private Key" | |
required: | |
- my_private_key | |
injectors: | |
extra_vars: | |
secret_key: "{{\_tower.filename.my_key\_ }}" | |
file: | |
template.my_key: "{{\_my_private_key\_ }}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment