I’m trying to automate a process that will need a service token. Ideally, I don’t want to generate a new one if one already exists that is not expired.
However, while doing doppler configs tokens create my-token --plain
successfully generates a token, I’m having get ‘invalid slug’ errors with both ‘get’ and ‘revoke’ subcommands.
$ doppler configs tokens create doppler-secrets-sync --plain
<REDACTED>
$ doppler configs tokens get doppler-secrets-sync
Doppler Error: invalid service token slug
$ doppler configs tokens get --slug doppler-secrets-sync
Doppler Error: invalid service token slug
$ doppler configs tokens revoke doppler-secrets-sync
Unable to delete service token
Doppler Error: Invalid service token.
$
Is there a trick that I’m missing here?