Google Cloud Data Loss Prevention v2 API - Class SecretManagerCredential (4.13.0)

public sealed class SecretManagerCredential : IMessage<SecretManagerCredential>, IEquatable<SecretManagerCredential>, IDeepCloneable<SecretManagerCredential>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class SecretManagerCredential.

A credential consisting of a username and password, where the password is stored in a Secret Manager resource. Note: Secret Manager charges apply.

Inheritance

object > SecretManagerCredential

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

SecretManagerCredential()

public SecretManagerCredential()

SecretManagerCredential(SecretManagerCredential)

public SecretManagerCredential(SecretManagerCredential other)
Parameter
Name Description
other SecretManagerCredential

Properties

PasswordSecretVersionName

public string PasswordSecretVersionName { get; set; }

Required. The name of the Secret Manager resource that stores the password, in the form projects/project-id/secrets/secret-name/versions/version.

Property Value
Type Description
string

Username

public string Username { get; set; }

Required. The username.

Property Value
Type Description
string