Skip to main content

Retrieving the Data Source

This data source can be retrieved by only ID.
Retrieve by ID
To retrieve by ID, fill in only the id field:
data ... {
    id = "your-ID"
}

Schema

Required

  • id (String) Identifier for the resource, unique for its resource type.

Read-Only

  • account (Attributes) (see below for nested schema)
  • created_at (String) : Timestamp indicating when the resource was created. A string representing a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS.SSS±HH:MM
  • description (String)
  • expires_at (String) A string representing a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS.SSS±HH:MM
  • labels (Map of String) : Labels associated with the resource.
  • metadata (Attributes) :

    Inner value description

    Common resource metadata. (see below for nested schema)
  • name (String) Human readable name for the resource.
  • parent_id (String) Identifier of the parent resource to which the resource belongs.
  • 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.
  • secret_delivery_mode (String) : Specifies how the secret will be delivered upon creation. This field is immutable — it cannot be changed after the resource is created.

    Supported values

    Possible values:
    • UNSPECIFIED - If not specified, the default behaviour will be applied. Currently it’s INLINE, later will be EXPLICIT.
    • INLINE - The secret value will be returned directly in the API response
    • MYSTERY_BOX - The secret will be delivered via a MysteryBox secret, in case of terraform it is recommended to use that enum
    • EXPLICIT - The secret value will be accessible via a separate method GetSecret
  • status (Attributes) (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:SSZ or YYYY-MM-DDTHH:MM:SS.SSS±HH:MM

Nested Schema for account

Read-Only:
  • anonymous_account (Attributes) Cannot be set alongside user_account or service_account. (see below for nested schema)
  • service_account (Attributes) Cannot be set alongside user_account or anonymous_account. (see below for nested schema)
  • user_account (Attributes) Cannot be set alongside service_account or anonymous_account. (see below for nested schema)

Nested Schema for account.anonymous_account

Nested Schema for account.service_account

Read-Only:
  • id (String)

Nested Schema for account.user_account

Read-Only:
  • id (String)

Nested Schema for metadata

Nested Schema for status

Read-Only:
  • algorithm (String)
  • aws_access_key_id (String)
  • fingerprint (String)
  • key_size (Number)
  • secret (String, Sensitive)
  • secret_reference_id (String)
  • state (String) :

    Supported values

    Possible values:
    • STATE_UNSPECIFIED
    • ACTIVE
    • INACTIVE
    • EXPIRED
    • DELETING
    • DELETED