You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commandline.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,12 +76,16 @@ To generate a template:
76
76
### Stored Credentials
77
77
For advanced automation scenarios you can add/update stored credentials or list your existing items:
78
78
79
-
-`certify credential store <unique storage key GUID> "<title>" "<type id>" "<secret>"` : for advanced automation use. Stores or updates a stored credential.
79
+
-`certify credential store <unique storage key GUID> "<title>" "<type id>" "<secret values as JSON>"` : for advanced automation use. Stores or updates a stored credential.
80
80
81
81
-`certify credential list` : list current stored credential summary information. This does not show secret values.
82
82
83
83
Note that when storing credentials information such as the Type ID and JSON format for the secrets will vary by credential type and are not arbitrary. [See an export](https://github.com/webprofusion/certify-plugins/blob/development/src/DeploymentTasks/Examples/Misc/storedcredential-definitions.txt) of the current list on github or contact support to discuss your requirements.
84
84
85
+
Below is an example command adding a stored credential for the Cloudflare DNS API. The GUID ID is generated by you and just needs to be unique where you are using it:
86
+
87
+
`./certify credential store "00213bb0-ec38-49db-bbec-f38f40e91809" "A test credential" DNS01.API.Cloudflare "{'apitoken':'anexampletokenvalue'}"`
0 commit comments