list-credentials

subtitle

Lists credentials.

version

0.9.66

Description

Lists credentials.

Synopsis

  list-credentials
[--credential-name <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--credential-name (string)

An optional credential name to search by.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

credentials -> (array)

The credentials.

item -> (object)

A credential object.

credentialName -> (string)

The name of the credential.

crn -> (string)

The CRN of the credential.

cloudPlatform -> (string)

The cloud provider.

description -> (string)

A description for the credential.

awsCredentialProperties -> (object)

The credential properties that closely related to those that have been created on AWS.

roleArn -> (string)

The AWS role arn for the given credential.

azureCredentialProperties -> (object)

The credential properties that closely related to those that have been created on Azure.

subscriptionId -> (string)

The Azure subscription ID for the given credential.

tenantId -> (string)

The Azure tenant ID for the given credential.

appId -> (string)

The ID of the created Azure app.

gcpCredentialProperties -> (object)

The credential properties that closely related to those that have created on GCP.

keyType -> (string)

The GCP credential key type. Json is the only supported key type.

Form Factors

public, private