summaryrefslogtreecommitdiffstats
path: root/docs/prompting.md
diff options
context:
space:
mode:
authorAlanCoding <arominge@redhat.com>2018-02-12 15:31:52 +0100
committerAlanCoding <arominge@redhat.com>2018-02-13 15:07:59 +0100
commit58a94be4285f4206f3fa25d77514e6fa34edcecc (patch)
tree8ec08ab9084babba39136eaad1597029023f6288 /docs/prompting.md
parentMerge pull request #1189 from jakemcdermott/fix-multivault-select (diff)
downloadawx-58a94be4285f4206f3fa25d77514e6fa34edcecc.tar.xz
awx-58a94be4285f4206f3fa25d77514e6fa34edcecc.zip
Omit placeholder vars with survey password defaults
WFJT nodes & schedules (launch configs) will accept POST/PATCH/PUT with variables in extra_data that have $encrypted$ for their value if a valid survey default exists. In this case, the variable is simply removed from the extra_data. This is done so that it does not affect pre-existing value substitution for $encrypted$ values from the config itself
Diffstat (limited to 'docs/prompting.md')
-rw-r--r--docs/prompting.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/prompting.md b/docs/prompting.md
index 24d83ec876..487fd992f9 100644
--- a/docs/prompting.md
+++ b/docs/prompting.md
@@ -240,6 +240,9 @@ of what happened.
- survey password durability
- schedule has survey password answers from WFJT survey
- WFJT node has answers to different password questions from JT survey
+ - Saving with "$encrypted$" value will either
+ - become a no-op, removing the key if a valid question default exists
+ - replace with the database value if question was previously answered
- final job it spawns has both answers encrypted
- POST to associate credential to WFJT node
- requires admin to WFJT and execute to JT