Retrieving the Data Source
This data source can be retrieved by one of ID or name.Retrieve by ID
To retrieve by ID, fill in only theid field:
Retrieve by Name
To retrieve by name, fill in only thename and parent_id fields:
Schema
Optional
id(String) Identifier for the resource, unique for its resource type.name(String) Human-readable name for the resource.parent_id(String) Identifier of the parent resource to which the resource belongs.
Read-Only
-
created_at(String) : Timestamp indicating when the resource was created. A string representing a timestamp in ISO 8601 format:YYYY-MM-DDTHH:MM:SSZorYYYY-MM-DDTHH:MM:SS.SSS±HH:MM -
description(String) Description of the secret. -
kms_key_id(String) : KMS key used to encrypt the secret’s payload. The service uses the default KMS key if this field is empty. Specify this field only during create operations. -
labels(Map of String) Labels associated with the resource. -
metadata(Attributes) :Inner value description
Common resource metadata. (see below for nested schema) -
primary_version_id(String) Specifies the primary version of the secret to update its payload. This parameter should only be provided during update operations. -
resource_version(Number) : Version of the resource for safe concurrent modifications and consistent reads. Positive and monotonically increases on each resource spec change (but not on each change of the resource’s container(s) or status). Service allows zero value or current. -
status(Attributes) The status of the secret. (see below for nested schema) -
updated_at(String) : Timestamp indicating when the resource was last updated. A string representing a timestamp in ISO 8601 format:YYYY-MM-DDTHH:MM:SSZorYYYY-MM-DDTHH:MM:SS.SSS±HH:MM
Nested Schema for metadata
Nested Schema for status
Read-Only:
-
deleted_at(String) : Time when user called soft delete method A string representing a timestamp in ISO 8601 format:YYYY-MM-DDTHH:MM:SSZorYYYY-MM-DDTHH:MM:SS.SSS±HH:MM -
effective_kms_key_id(String) Reflects the active KMS key id applied to the secret -
purge_at(String) : Time when key should be totally deleted from DB A string representing a timestamp in ISO 8601 format:YYYY-MM-DDTHH:MM:SSZorYYYY-MM-DDTHH:MM:SS.SSS±HH:MM -
state(String) : State (ACTIVE, SCHEDULED_FOR_DELETION)Supported values
Possible values:STATE_UNSPECIFIEDACTIVE- Resource is active, ready for useSCHEDULED_FOR_DELETION- Resource was marked as soft deleted