Skip to main content
Version: 3.4

Credentials Commands

The credentials command group manages Credentials — named secrets (passwords, SSH keys, PGP keys, X.509 certificates, and key pairs) used by Accounts, Endpoints, and Pipelines for authentication and encryption.

For command line syntax, see the UDMG Client CLI overview.

The create and update commands each dispatch to a type-specific subcommand that matches the kind of secret being stored.

Commands Overview​

CommandDescriptionRequired Role
credentials listReturns all Credentials.Any
credentials get <name>Retrieves the full definition of a Credential identified by name.Any
credentials delete <name>Permanently deletes a Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials createCreates a Credential. A type subcommand must be specified to identify the kind of secret being stored.
credentials create auth-passwordCreates an auth-password Credential storing a username/password pair.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create auth-keyCreates an auth-key Credential storing a username with an SSH private key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create auth-password-keyCreates an auth-password-key Credential storing a username, password, and SSH private key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create key-pairCreates a key-pair Credential storing a symmetric key/value pair.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create ssh-private-keyCreates an ssh-private-key Credential storing an SSH private key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create ssh-public-keyCreates an ssh-public-key Credential storing an SSH public key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create pgp-private-keyCreates a pgp-private-key Credential storing a PGP private key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create pgp-public-keyCreates a pgp-public-key Credential storing a PGP public key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create x509-certCreates an x509-cert Credential storing an X.509 certificate.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create x509-private-keyCreates an x509-private-key Credential storing an X.509 private key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials create x509-cert-keyCreates an x509-cert-key Credential storing an X.509 certificate with its matching private key.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials updateUpdates a Credential. A type subcommand must be specified, followed by the name of the Credential to update.
credentials update auth-password <name>Updates an auth-password Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update auth-key <name>Updates an auth-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update auth-password-key <name>Updates an auth-password-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update key-pair <name>Updates a key-pair Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update ssh-private-key <name>Updates an ssh-private-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update ssh-public-key <name>Updates an ssh-public-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update pgp-private-key <name>Updates a pgp-private-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update pgp-public-key <name>Updates a pgp-public-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update x509-cert <name>Updates an x509-cert Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update x509-private-key <name>Updates an x509-private-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials update x509-cert-key <name>Updates an x509-cert-key Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials enable <name>Enables a Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
  • Operator
credentials disable <name>Disables a Credential.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
  • Operator
credentials details <name>Returns parsed details of the specified Credential, such as key fingerprints, certificate subject and expiry, and algorithm information, without returning the raw secret value.Any
credentials reveal <name>Returns the decrypted secret value of the specified Credential. The response contains the plaintext secret.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
credentials assignments <name>Returns all resources (Accounts, Endpoints, Pipelines, Tasks, and Domains) that currently reference the specified Credential.Any

Authentication​

Every udmg-client command authenticates to the UDMG Server using a UDMG username and password. Supply them with the --auth-username and --auth-password flags, or set the UDMG_CLI_AUTH_USERNAME and UDMG_CLI_AUTH_PASSWORD environment variables. For details and examples, see Authentication.

Subcommands​

Use the following type subcommands with credentials create and credentials update to target a specific credential type.

SubcommandCredential Type
ssh-private-keyPrivate Key
ssh-public-keyPublic Key
pgp-private-keyPGP Private Key
pgp-public-keyPGP Public Key
auth-passwordStandard Authentication
auth-keyUsername and Key
auth-password-keyUsername, Password, and Key
x509-certX.509 Certificate
x509-private-keyX.509 Private Key
x509-cert-keyTLS Certificate Pair
key-pairKey Pair

Commands Reference​

list​

Description

Returns all Credentials.

Required role

  • Any

Command line syntax

udmg-client [global options] credentials list [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--enabledFilter by enabled state. Accepted values: true, false.No(none)
--typeFilter by credential type (e.g. ssh:private:key).No(none)
--pagePage number.No(none)
--page-sizeNumber of items per page.No(none)
--orderSort direction. Accepted values: asc, desc.No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials list --enabled true --type ssh:private:key --page 1 --page-size 10 --order asc

get​

Description

Retrieves the full definition of a Credential identified by name.

Required role

  • Any

Command line syntax

udmg-client [global options] credentials get <name>

Arguments

ArgumentDescription
<name>Credential name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials get sftp-key

delete​

Description

Permanently deletes a Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials delete <name>

Arguments

ArgumentDescription
<name>Credential name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials delete sftp-key

create​

Description

Creates a Credential. A type subcommand must be specified to identify the kind of secret being stored.

create ssh-private-key​

Description

Creates an ssh-private-key Credential storing an SSH private key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create ssh-private-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--keyPEM-encoded SSH private key.YesN/A
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create ssh-private-key --name deploy-key --key "$(cat ~/.ssh/id_rsa)"

create ssh-public-key​

Description

Creates an ssh-public-key Credential storing an SSH public key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create ssh-public-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--keySSH public key (authorized_keys format).YesN/A
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create ssh-public-key --name deploy-pub-key --key "$(cat ~/.ssh/id_rsa)"

create pgp-private-key​

Description

Creates a pgp-private-key Credential storing a PGP private key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create pgp-private-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--keyPGP private key block (ASCII-armored).YesN/A
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create pgp-private-key --name my-pgp-key --key "$(cat /path/to/pgp.key)"

create pgp-public-key​

Description

Creates a pgp-public-key Credential storing a PGP public key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create pgp-public-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--keyPGP public key block (ASCII-armored).YesN/A
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create pgp-public-key --name my-pgp-pub-key --key "$(cat /path/to/pgp.key)"

create auth-password​

Description

Creates an auth-password Credential storing a username/password pair.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create auth-password [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--keyKey name (username or identifier).YesN/A
--valueKey value (password or secret).No(none)
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create auth-password --name alice-password --key alice --value Passw0rd!

create auth-key​

Description

Creates an auth-key Credential storing a username with an SSH private key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create auth-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--usernameUsername.YesN/A
--private-keyPEM-encoded SSH private key.YesN/A
--passphrasePassphrase for the private key.No(none)
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create auth-key --name alice-key --username alice --private-key "$(cat ~/.ssh/id_rsa)" --passphrase Passw0rd!

create auth-password-key​

Description

Creates an auth-password-key Credential storing a username, password, and SSH private key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create auth-password-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--usernameUsername.YesN/A
--passwordPassword.YesN/A
--private-keyPEM-encoded SSH private key.YesN/A
--passphrasePassphrase for the private key.No(none)
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create auth-password-key --name alice-combo --username alice --password Passw0rd! --private-key "$(cat ~/.ssh/id_rsa)" --passphrase Passw0rd!

create x509-cert​

Description

Creates an x509-cert Credential storing an X.509 certificate.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create x509-cert [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--pem-dataPEM-encoded X.509 certificate.YesN/A

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create x509-cert --name my-cert --pem-data "$(cat /path/to/cert.pem)"

create x509-private-key​

Description

Creates an x509-private-key Credential storing an X.509 private key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create x509-private-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--pem-dataPEM-encoded X.509 private key.YesN/A

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create x509-private-key --name my-private-key --pem-data "$(cat /path/to/cert.pem)"

create x509-cert-key​

Description

Creates an x509-cert-key Credential storing an X.509 certificate with its matching private key.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create x509-cert-key [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--certificatePEM-encoded X.509 certificate.YesN/A
--private-keyPEM-encoded private key.YesN/A
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create x509-cert-key --name my-cert-key --certificate "$(cat /path/to/cert.pem)" --private-key "$(cat /path/to/cert.key)"

create key-pair​

Description

Creates a key-pair Credential storing a symmetric key/value pair.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials create key-pair [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameCredential name.YesN/A
--secret-keyKey name.YesN/A
--secret-valueKey value.YesN/A
--descriptionThe description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339, e.g. 2026-01-01T00:00:00Z).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials create key-pair --name aws-keys --secret-key AKIAIOSFODNN7EXAMPLE --secret-value wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

update​

Description

Updates a Credential. A type subcommand must be specified, followed by the name of the Credential to update.

update ssh-private-key​

Description

Updates an ssh-private-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update ssh-private-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--keyPEM-encoded SSH private key.No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update ssh-private-key deploy-key --key "$(cat ~/.ssh/id_rsa)"

update ssh-public-key​

Description

Updates an ssh-public-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update ssh-public-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--keySSH public key (authorized_keys format).No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update ssh-public-key deploy-pub-key --key "$(cat ~/.ssh/id_rsa)"

update pgp-private-key​

Description

Updates a pgp-private-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update pgp-private-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--keyPGP private key block (ASCII-armored).No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update pgp-private-key my-pgp-key --key "$(cat /path/to/pgp.key)"

update pgp-public-key​

Description

Updates a pgp-public-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update pgp-public-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--keyPGP public key block (ASCII-armored).No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update pgp-public-key my-pgp-pub-key --key "$(cat /path/to/pgp.key)"

update auth-password​

Description

Updates an auth-password Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update auth-password <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--keyKey name (username or identifier).No(none)
--valueKey value (password or secret).No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update auth-password alice-password --key alice --value Passw0rd!

update auth-key​

Description

Updates an auth-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update auth-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--usernameUsername.No(none)
--private-keyPEM-encoded SSH private key.No(none)
--passphrasePassphrase for the private key.No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update auth-key alice-key --username alice --private-key "$(cat ~/.ssh/id_rsa)" --passphrase Passw0rd!

update auth-password-key​

Description

Updates an auth-password-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update auth-password-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--usernameUsername.No(none)
--passwordPassword.No(none)
--private-keyPEM-encoded SSH private key.No(none)
--passphrasePassphrase for the private key.No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update auth-password-key alice-combo --username alice --password NewPassw0rd! --private-key "$(cat ~/.ssh/id_rsa)" --passphrase Passw0rd!

update x509-cert​

Description

Updates an x509-cert Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update x509-cert <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--pem-dataPEM-encoded X.509 certificate.No(none)
--nameNew name for the Credential.No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update x509-cert my-cert --pem-data "$(cat /path/to/cert.pem)"

update x509-private-key​

Description

Updates an x509-private-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update x509-private-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--pem-dataPEM-encoded X.509 private key.No(none)
--nameNew name for the Credential.No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update x509-private-key my-private-key --pem-data "$(cat /path/to/cert.pem)"

update x509-cert-key​

Description

Updates an x509-cert-key Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update x509-cert-key <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--certificatePEM-encoded X.509 certificate.No(none)
--private-keyPEM-encoded private key.No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update x509-cert-key my-cert-key --certificate "$(cat /path/to/cert.pem)" --private-key "$(cat /path/to/cert.key)"

update key-pair​

Description

Updates a key-pair Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials update key-pair <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--secret-keyKey name.No(none)
--secret-valueKey value.No(none)
--nameNew name for the Credential.No(none)
--descriptionThe new description of the Credential.No(none)
--business-serviceBusiness Service name to assign this Credential to.No(none)
--valid-fromValidity start date (RFC3339).No(none)
--valid-toValidity end date (RFC3339).No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials update key-pair aws-keys --secret-key AKIAIOSFODNN7EXAMPLE --secret-value wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

enable​

Description

Enables a Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management
  • Operator

Command line syntax

udmg-client [global options] credentials enable <name>

Arguments

ArgumentDescription
<name>Credential name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials enable sftp-key

disable​

Description

Disables a Credential.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management
  • Operator

Command line syntax

udmg-client [global options] credentials disable <name>

Arguments

ArgumentDescription
<name>Credential name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials disable sftp-key

details​

Description

Returns parsed details of the specified Credential, such as key fingerprints, certificate subject and expiry, and algorithm information, without returning the raw secret value.

Required role

  • Any

Command line syntax

udmg-client [global options] credentials details <name>

Arguments

ArgumentDescription
<name>Credential name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials details tls-cert

reveal​

Description

Returns the decrypted secret value of the specified Credential. The response contains the plaintext secret.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] credentials reveal <name>

Arguments

ArgumentDescription
<name>Credential name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials reveal sftp-key

assignments​

Description

Returns all resources (Accounts, Endpoints, Pipelines, Tasks, and Domains) that currently reference the specified Credential.

Required role

  • Any

Command line syntax

udmg-client [global options] credentials assignments <name> [command-specific options]

Arguments

ArgumentDescription
<name>Credential name.

Command-specific options

OptionDescriptionRequiredDefault
--extendedInclude extended assignment details.Nofalse

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client credentials assignments my-credential --extended false