Get the admin token of a Secret Manager instance
Reviewed on · View on GitHub
You can retrieve the admin token of your Secret Manager instance within your space. This token is required to administer the instance from the Vault interface.
Permissions
info
This action requires the following IAM (Identity and Access Management) permissions:
- secrets.instance.get
- API
API
The request GET /secrets/spaces/{spaceId}/instances/{instanceId}/token retrieves the admin token of a Secret Manager instance. The token is returned once — store it in a secure location.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| spaceId | string | Yes | The Numspot space ID. |
| instanceId | string | Yes | The Secret Manager instance ID. |
Example response
{
"token": "hvs.CAESIJ7m8w9GxK2LpQr5tNvY1zA4bC6dE8fG0hI2jK4lM6nO8p"
}