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."],[[["The `SecretManagerCredential` class in the Google Cloud Data Loss Prevention v2 API allows for the secure management of credentials, specifically usernames and passwords, with passwords stored in Google Cloud Secret Manager."],["This documentation provides access to various versions of the `SecretManagerCredential` class, ranging from version 2.15.0 up to the latest version 4.16.0."],["The `SecretManagerCredential` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` and inherits from `object`."],["Key properties of the class include `PasswordSecretVersionName`, which is a string representing the location of the password in the secret manager, and `Username`, which is a string for the associated username."],["The Secret Manager's pricing applies when using the SecretManagerCredential."]]],[]]