mintDopplerToken
mintDopplerToken(
input,options):Promise<MintTokenResult>
Defined in: plugins/holocron-plugin-doppler/src/mint-token.ts:25
Makes a Doppler service token for a layer through POST /v3/configs/config/tokens: scoped to the plugin’s one
project and the config the configs option names for that layer, with read access (the declaration’s read
permission; its write is absent) and an expiry from the declared rotation. A personal token cannot make another
personal token, which is why the result is a service token. It refuses, before any call, a layer with no declared
permissions, no project or no config for the layer. The value is returned once, never printed.
Parameters
Section titled “Parameters”MintTokenInput
options
Section titled “options”Returns
Section titled “Returns”Promise<MintTokenResult>