Skip to main content

Read credential

Read a generic credential by its target name; the secret comes back as a Credential that is masked everywhere.

Command in the Credential Manager toolkit · id ooa.credential_manager/read_credential · 2 inputs (1 required), 4 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TargetStringYesTarget name as shown in Credential Manager.
EncodingStringNoautoHow the secret is stored. auto: detects the UTF-16 used by Windows and most tools, otherwise UTF-8.

Outputs​

OutputTypeWhat it is
usernameStringUser name stored with the credential (may be empty).
passwordCredentialThe stored secret.
commentStringComment stored with the credential.
last_writtenDateTimeWhen the credential was last changed.