Skip to content

DopplerServiceToken

Defined in: service-tokens/service-tokens.ts:18

A service token as the create call returns it. key (the secret) is returned only then.

optional access?: string

Defined in: service-tokens/service-tokens.ts:30

read or read/write.


optional config?: string

Defined in: service-tokens/service-tokens.ts:28

The config the token is scoped to.


optional expires_at?: string | null

Defined in: service-tokens/service-tokens.ts:32

When the token expires, null when it never does.


optional key?: string

Defined in: service-tokens/service-tokens.ts:20

The token’s value (dp.st.…). A credential, shown once.


optional name?: string

Defined in: service-tokens/service-tokens.ts:24

The token’s name.


optional project?: string

Defined in: service-tokens/service-tokens.ts:26

The project the token is scoped to.


optional slug?: string

Defined in: service-tokens/service-tokens.ts:22

The token’s unique id, what a delete takes.