Skip to content

Commit 749216a

Browse files
committed
Document what permissions the tokens need
1 parent f556336 commit 749216a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,14 @@ Before you can run our Ansible playbooks, you need to meet the following
3737
prerequisites:
3838

3939
* Create a DigitalOcean API token, and pass it to the inventory generator by
40-
setting the `DO_API_TOKEN` environment variable.
40+
setting the `DO_API_TOKEN` environment variable. The API token must have
41+
access to the following scopes:
42+
- Read: droplet, firewall, monitoring, project, ssh_key
43+
- Create: droplet
44+
- Update: droplet, monitoring, project
4145
* If you are creating a new droplet, and want to configure DNS as well, then
42-
create a CloudFlare API token, and pass it to the Ansible playbook by setting
43-
the `CLOUDFLARE_TOKEN` environment variable.
46+
create a CloudFlare API token with DNS edit permissions, and pass it to the
47+
Ansible playbook by setting the `CLOUDFLARE_TOKEN` environment variable.
4448
* Set the vault decryption password of the Ansible vaulted file with our
4549
secrets. This may be done by setting the `ANSIBLE_VAULT_PASSWORD_FILE`
4650
environment variable to point to a file containing the password.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy