Options for defining credentials for a Docker Credential

interface ExternalDockerCredentialOptions {
    assumeRole?: IRole;
    secretPasswordField?: string;
    secretUsernameField?: string;
    usages?: DockerCredentialUsage[];
}

Properties

assumeRole?: IRole

An IAM role to assume prior to accessing the secret.

- none. The current execution role will be used.
secretPasswordField?: string

The name of the JSON field of the secret which contains the secret/password.

'secret'
secretUsernameField?: string

The name of the JSON field of the secret which contains the user/login name.

'username'

Defines which stages of the pipeline should be granted access to these credentials.

- all relevant stages (synth, self-update, asset publishing) are granted access.