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 credential storage, specifically a username and a password which is stored within a Secret Manager resource."],["This class, `SecretManagerCredential`, has been implemented with multiple interfaces for diverse functionality: `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class is available in many versions, with version 4.16.0 being the latest and version 2.15.0 being the oldest specified within the content."],["The `SecretManagerCredential` class has two main properties: `PasswordSecretVersionName` which stores the password location in the Secret Manager and `Username`, for the username."],["Secret Manager charges apply to the usage of this credential system, and both the username and password location must be specified within the properties of the class."]]],[]]