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-04-09 UTC."],[[["This webpage provides reference documentation for the `SecretManagerCredential` class within the Google Cloud Data Loss Prevention (DLP) v2 API for .NET, covering versions from 2.15.0 up to 4.16.0."],["The `SecretManagerCredential` class is used to store credentials with the password stored in a Google Cloud Secret Manager resource, and users are advised that there are charges associated with using the secret manager."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, for interacting with the Google Protocol Buffers library."],["The class has two constructors, one default and one taking a `SecretManagerCredential` object as a parameter, and has two key properties, `PasswordSecretVersionName` and `Username`, both of type string."],["This document also includes a reference list of the previous versions of this page, and the user can access all the versions by simply clicking on the desired version."]]],[]]