Save credential value
Store a new value of a credential attribute in One CommandCenter's vault, for example the new password after a reset, and optionally its new expiry date. Needs Settings > Agents may save credentials and permission to change the credential for the user the run runs as.
Command in the Credential vault toolkit · id ooa.vault/save_credential · 4 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Credential | String | Yes | Where to store it: vault folder/credential/attribute, e.g. finance/sap-login/password. | |
| Value | Credential | Yes | The new value: a Credential variable or a vault reference, never typed text. | |
| Expires | String | No | The credential's new expiry date, yyyy-MM-dd. Empty: unchanged. | |
| Expires in (days) | Number | No | Or: the credential expires this many days from today (used when expires is empty). |
Outputs
| Output | Type | What it is |
|---|---|---|
| expires | String | The credential's expiry date (yyyy-MM-dd), or empty when it has none. |
| days_left | Number | Days until it expires; empty when it has no expiry date. |