I’m working on creating pull request previews support for my team. The goal is to create a config branch per pull request preview. This allows developers to customize secrets for just their own pull request preview.
We have a service token that was generated and stored in our CI’s secrets store:
doppler configs tokens create --access "read/write" --config pr_preview --project overwatch --name pr-preview-token --plain
We then try to create a config branch:
doppler configs create --environment pr_preview --name pr_preview_test_v0 --project my-project --token pr-preview-token-value-here
This outputs the following error:
Unable to create config
Doppler Error: You do not have write access.
Is there a way to grant a service token the ability to create configs?