authservicecentral ctl resources get

Get a configured resource, its metadata, and relationships through GET /v1/manage/resources/{type}/{id}. The management token requires the configured resources.read permission, conventionally management.resources.read.

See the ctl overview for common flags.

Usage

authservicecentral ctl [common flags] resources get --type TYPE --id ID

Flags

Flag Required Default Description
--type TYPE yes none YAML-defined resource type.
--id ID yes none Runtime resource identifier.

Example

authservicecentral ctl --token "$MANAGEMENT_TOKEN" resources get \
  --type document --id report-123

The default table prints the resource and metadata followed by a relationship table when relationships are present.