summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2024-12-05 20:54:23 +0100
committerGitHub <noreply@github.com>2024-12-05 20:54:23 +0100
commit5208cffd9110d64855d7071471ad0524c43c382a (patch)
tree1881384e733eaef0775005f4ed42d4c170b3dc95
parentconfig lookup, fixes and tests (#84398) (diff)
downloadansible-5208cffd9110d64855d7071471ad0524c43c382a.tar.xz
ansible-5208cffd9110d64855d7071471ad0524c43c382a.zip
document decrypt also works on strings (#84412)
-rwxr-xr-xlib/ansible/cli/vault.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/cli/vault.py b/lib/ansible/cli/vault.py
index 8b6dc88a3d..a90395a00e 100755
--- a/lib/ansible/cli/vault.py
+++ b/lib/ansible/cli/vault.py
@@ -84,7 +84,7 @@ class VaultCLI(CLI):
create_parser.add_argument('--skip-tty-check', default=False, help='allows editor to be opened when no tty attached',
dest='skip_tty_check', action='store_true')
- decrypt_parser = subparsers.add_parser('decrypt', help='Decrypt vault encrypted file', parents=[output, common])
+ decrypt_parser = subparsers.add_parser('decrypt', help='Decrypt vault encrypted file or string', parents=[output, common])
decrypt_parser.set_defaults(func=self.execute_decrypt)
decrypt_parser.add_argument('args', help='Filename', metavar='file_name', nargs='*')