Skip to navigation

Get application identity

Gets one application identity without credentials. Requires scope: secret-store.read.

# Example request with curl (set IBEE_API_TOKEN to a platform API token and WORKSPACE_ID to the workspace first).
# IDENTITY_ID: Secret Store application identity ID
curl "https://api.ibee.ai/v1/secret-store/identities/$IDENTITY_ID?workspace_id=$WORKSPACE_ID" \
-H "Authorization: Bearer $IBEE_API_TOKEN"

Authentication

AuthorizationBearer

IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.

Path parameters

identity_idstringRequired
Secret Store application identity ID.

Query parameters

workspace_idstringRequiredformat: "^[1-9][0-9]*$">=1 character

The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.

Response

Identity returned successfully.
idstring
Unique ID of the identity.
organization_idstring
ID of the owning organization.
workspace_idstring
ID of the owning workspace.
namestring
Display name of the identity.
auth_methodenum
  • approle: authenticates with a role ID and secret ID.
  • kubernetes: authenticates with a Kubernetes service account token.
Allowed values:
openbao_role_namestring
Name of the backend authentication role created for the identity.
statusenum
  • active: can authenticate.
  • disabled: authentication is refused.
Allowed values:
token_policy_modeenum

Access mode of the identity’s tokens.

  • read_only
  • read_write
Allowed values:
created_atdatetime

When the record was created (ISO 8601).

updated_atdatetime

When the record was last changed (ISO 8601).

k8s_namespacestring or nullOptional

Kubernetes namespace of the service account, for kubernetes identities.

k8s_service_accountstring or nullOptional

Kubernetes service account name, for kubernetes identities.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error
504
Gateway Timeout Error