Secret(mapping=None, *, ignore_unknown_fields=False, **kwargs)A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
raw_value |
str
Optional. Input only. The actual raw value of the secret as plain text. This field is a member of oneof_ value.
|
secret_version |
str
Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: - projects/{project}/locations/{location}/secrets/{secret}/versions/{version} - projects/{project}/secrets/{secret}/versions/{version} This field is a member of oneof_ value.
|