Artifact Registry v1 API - Class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials (2.8.0)

public sealed class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials : IMessage<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IEquatable<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IDeepCloneable<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials.

Username and password credentials.

Inheritance

object > RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

UsernamePasswordCredentials()

public UsernamePasswordCredentials()

UsernamePasswordCredentials(UsernamePasswordCredentials)

public UsernamePasswordCredentials(RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials other)
Parameter
Name Description
other RemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials

Properties

PasswordSecretVersion

public string PasswordSecretVersion { get; set; }

The Secret Manager key version that holds the password to access the remote repository. Must be in the format of projects/{project}/secrets/{secret}/versions/{version}.

Property Value
Type Description
string

PasswordSecretVersionAsSecretVersionName

public SecretVersionName PasswordSecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the PasswordSecretVersion resource name property.

Property Value
Type Description
SecretVersionName

Username

public string Username { get; set; }

The username to access the remote repository.

Property Value
Type Description
string