Skip to main content

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​

InputTypeRequiredDefaultWhat it is
CredentialStringYesWhere to store it: vault folder/credential/attribute, e.g. finance/sap-login/password.
ValueCredentialYesThe new value: a Credential variable or a vault reference, never typed text.
ExpiresStringNoThe credential's new expiry date, yyyy-MM-dd. Empty: unchanged.
Expires in (days)NumberNoOr: the credential expires this many days from today (used when expires is empty).

Outputs​

OutputTypeWhat it is
expiresStringThe credential's expiry date (yyyy-MM-dd), or empty when it has none.
days_leftNumberDays until it expires; empty when it has no expiry date.