Compute

Get Secret

Retrieves detailed information about a specific secret in the specified workspace.

get/compute/v2/thr4/workspaces/{workspaceUUID}/secrets/{resourceId}

Path parameters

resourceIdstring required

Resource ID

workspaceUUIDstring required

UUID of the workspace

Response

Successfully retrieved the details of the specified secret.

apiVersion'compute/v2' required

Version identifier of the API schema

dataobject

Contains the secret data as base64 encoded strings

immutableboolean nullable

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified)

kind'Secret' required

The string value 'Secret' that identifies the schema

stringDataobject

Allows specifying non-binary secret data in string form, merged into the data field on write

typestring

Used to facilitate programmatic handling of secret data

Example response

{
  "apiVersion": "compute/v2",
  "kind": "Secret",
  "metadata": {
    "resourceVersion": "519597875",
    "uid": "00000000-0000-0000-0000-000000000000",
    "workspace": "00000000-0000-0000-0000-000000000000"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.