Created
July 14, 2021 19:43
-
-
Save jimbo8098/c25f58bffece040c36eac32e50e915c8 to your computer and use it in GitHub Desktop.
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
# Where: | |
# ~/.ansible-pass-files/token is the pass file | |
# token is the vault-id you want to use | |
# agent_token is the name of the | |
ansible-vault encrypt_string --vault-id token@~/.ansible-pass-files/token --encrypt-vault-id token --name agent_token 'string-to-encrypt' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment