Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save weiyentan/0195ea34a66c3fdbf3a8cc84e0d0587f to your computer and use it in GitHub Desktop.
Save weiyentan/0195ea34a66c3fdbf3a8cc84e0d0587f to your computer and use it in GitHub Desktop.
---
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