-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch examples from Personal Token to Service Account token
Using a personal token is inadvisable as it's tied to a user identity. Now that we have Service Account tokens, we can switch all documentation to those.
- Loading branch information
1 parent
c58305d
commit f682c45
Showing
3 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ This action enables you to fetch Doppler secrets for use in your GitHub Actions. | |
The action can be configured in two ways: | ||
|
||
* Service Token (recommended) | ||
* Personal Token with Project and Config | ||
* Service Account Token with Project and Config | ||
|
||
### Service Token | ||
|
||
|
@@ -26,15 +26,15 @@ Then supply the Service Token using the `doppler-token` input: | |
doppler-token: ${{ secrets.DOPPLER_TOKEN }} | ||
``` | ||
|
||
### Personal Token | ||
### Service Account Token | ||
|
||
A Doppler Personal Token provides read/write access to every Project and Config accessible for that account and should only be used when necessary. The `doppler-project` and `doppler-config` inputs must be provided when using a Personal Token: | ||
A Doppler Service Account Token allows for a configurable set of permissions to services in your workplace. The `doppler-project` and `doppler-config` inputs must be provided when using a Service Account Token: | ||
|
||
```yaml | ||
- uses: dopplerhq/[email protected] | ||
id: doppler | ||
with: | ||
doppler-token: ${{ secrets.PERSONAL_DOPPLER_TOKEN }} | ||
doppler-token: ${{ secrets.DOPPLER_TOKEN }} | ||
doppler-project: auth-api | ||
doppler-config: ci-cd | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters