get

Description

Get detailed information about a specific version of a secret.

Synopsis

$ abeja secret-version get [--help]
Usage: abeja secret-version get [OPTIONS]

  Get a specific secret version

Options:
  -s, --secret_id, --secret-id TEXT
                                  Secret ID  [required]
  -v, --version_id, --version-id TEXT
                                  Version ID  [required]
  --organization_id, --organization-id TEXT
                                  Organization ID. If not specified, the current
                                  organization ID is used.
  --help                          Show this message and exit.

Options

-s, --secret_id, --secret-id

Specify the ID of the secret that contains the version you want to retrieve. This option is required.

-v, --version_id, --version-id

Specify the ID of the specific version you want to retrieve. This option is required.

--organization_id, --organization-id

Specify the organization ID. If not specified, the current organization ID from the configuration is used.

Example

Get a specific secret version

Command:

$ abeja secret-version get --secret-id secret-abcdef123456 --version-id version-123456789012

Output:

{
  "id": "version-123456789012",
  "secret_id": "secret-abcdef123456",
  "version": 2,
  "status": "active",
  "value": "my-secure-password",
  "created_at": "2023-05-12T10:30:00.000000Z"
}