ArtifactRegistryRepositoryArtifactRegistryRemoteUsernamePasswordCredentials class

remote_repository_config.upstream_credentials .username_password_credentials block.

The actual password never appears here -- it lives in Secret Manager and Artifact Registry resolves passwordSecretVersion at fetch time.

Annotations
  • @immutable

Constructors

ArtifactRegistryRepositoryArtifactRegistryRemoteUsernamePasswordCredentials({TfArg<String>? username, TfArg<String>? passwordSecretVersion})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
passwordSecretVersion → TfArg<String>?
Secret Manager secret-version path (projects/<p>/secrets/<s>/versions/<v>) holding the upstream password. Pass TfArg.ref(secretVersion.name) to keep the wiring symbolic.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username → TfArg<String>?
Username used to authenticate against the upstream.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited