Create a configuration service token
/v1/secrets/configs/config/service_tokensThe token grants access to the secrets of a single configuration and is passed as Authorization: Bearer <token>.
Access access: read (default) or write. The duration lifetime uses the Go format
(24h, 720h); without it, the token never expires. The full token value is returned only in this
response. The token is accepted only by configuration secret routes. Requires editor access
to the environment.
Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Query Parameters
- project stringrequired
Project alias
- config stringrequired
Configuration alias:
<environment>is the root configuration,<environment>/<name>is a branch or a personal configuration (<environment>/personal), for exampledev/local
Request body
Access
Possible values: [read, write]
Description
Lifetime
Response
Access
Possible values: [read, write]
Creation date
Description
Expiration date
Identifier
Last used date
owner object
Owner
Active flag
Avatar
https://www.gravatar.com/avatar/00000000000000000000000000000000jane@example.comIdentifier
42Name
Jane DoeRole
Possible values: [primary_owner, owner, admin, member]
memberToken
Type
Possible values: [secrets]