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, detailing its use for storing credentials with passwords managed by Google Secret Manager."],["The `SecretManagerCredential` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for various object interactions and deep cloning."],["The class contains two required properties: `Username`, which stores the username as a string, and `PasswordSecretVersionName`, which specifies the Secret Manager resource path where the password is stored."],["The documentation includes a list of available versions for this class, ranging from version 2.15.0 to the latest version 4.16.0 with the currently selected version as 4.13.0."],["Using Secret Manager to store the password will incur charges, according to Google's Secret Manager pricing."]]],[]]