migrate bootstrap.sh from bw to bws, update docs
This commit is contained in:
@@ -31,12 +31,16 @@ Actions workflows.
|
||||
|
||||
## Secrets
|
||||
|
||||
Stored in Bitwarden (free tier), fetched via `bw` CLI:
|
||||
- `hantim-ci-registry-push` -- Secure Note (Gitea registry token)
|
||||
- `hantim-server-deploy` -- SSH Key (deploy user key pair)
|
||||
- `hantim-new-app-script` -- Secure Note (Gitea API token for creating repos)
|
||||
- `hantim-vultr-api-key` -- Secure Note (Vultr API key for DNS management)
|
||||
- `argento-garage` -- Secure Note (Garage rpc_secret, argento_node_id, S3 keys)
|
||||
Bitwarden Secrets Manager (project: `hantim`, fetched via `bws` CLI):
|
||||
- `hantim-ci-registry-push` -- Gitea registry token (used by bootstrap.sh)
|
||||
- `hantim-deploy-ssh-private-key` -- deploy user SSH private key (used by new-app.sh)
|
||||
- `hantim-deploy-ssh-public-key` -- deploy user SSH public key (used by bootstrap.sh)
|
||||
- `hantim-new-app-script` -- Gitea API token for creating repos (used by new-app.sh)
|
||||
- `hantim-vultr-api-key` -- Vultr API key for DNS management (used by new-app.sh)
|
||||
|
||||
Machine accounts:
|
||||
- `hantim-server` -- access token stored at `/etc/bws-token` on hantim
|
||||
- `hantim-ci` -- access token stored as Gitea secret (reserved for future use)
|
||||
|
||||
Gitea org-level (`hantim`) secrets/variables:
|
||||
- `DEPLOY_HOST` -- Variable (server IP)
|
||||
|
||||
Reference in New Issue
Block a user