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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This webpage provides documentation for the `SecretManagerCredential` class within the Google Cloud Data Loss Prevention (DLP) v2 API for .NET, with version 4.16.0 being the latest and version 4.10.0 being the current reference version."],["The `SecretManagerCredential` class represents credentials consisting of a username and a password that is securely stored within a Secret Manager resource, and implementing interfaces like IMessage, IEquatable, and IDeepCloneable."],["The class offers two constructors, one default and one to create a new `SecretManagerCredential` object by copying another instance."],["The `SecretManagerCredential` class contains two properties, `PasswordSecretVersionName`, which stores the name of the secret manager resource containing the password, and `Username`, for storing the user's username."],["The document shows there are many previous versions of the `SecretManagerCredential`, all the way down to version 2.15.0."]]],[]]