public sealed class SecretManagerCredential : IMessage<SecretManagerCredential>, IEquatable<SecretManagerCredential>, IDeepCloneable<SecretManagerCredential>, IBufferMessage, IMessageReference 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.
Implements
IMessageSecretManagerCredential, IEquatableSecretManagerCredential, IDeepCloneableSecretManagerCredential, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
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 |
|