Scrub tracked secrets and switch ATVM docs to local credential references
- remove hardcoded credentials, tokens, registration codes, and similar secret values from tracked ATVM and CDS MCP docs - replace those values with references to /home/aw/code/cds/.env.credentials.local and the corresponding environment variable names - update current operator guides to instruct sourcing .env.credentials.local before credential-dependent setup and automation workflows - update the ATVM setup scripts to consume ATVM_TARGET_PASSWORD from the environment instead of hardcoding the Ubuntu root SSH password - scrub the remaining tracked artifact log entry that still included the old CMC registration code - keep the local-only credential inventory in .env.credentials.local while leaving that file untracked
This commit is contained in:
@@ -4,18 +4,19 @@ This file contains the CMC install, uninstall, and reinstall fallback reference
|
||||
|
||||
## Default Project Rule
|
||||
- Default project: `Skidamarink`
|
||||
- Default registration code: `BZHKABCODZLIOK6RTAJ4`
|
||||
- Source `/home/aw/code/cds/.env.credentials.local` and use `CMC_GCSTAGE_REGISTRATION_CODE`
|
||||
- Default endpoint: `portal.gcstage.cloud.nonprod.cirrusdata.com:443`
|
||||
- Use a different project code only when the user explicitly requests it in that run.
|
||||
|
||||
## Skidamarink Install (Linux)
|
||||
```bash
|
||||
curl https://get.cirrusdata.cloud/install-cmc | bash -s -- -rgc BZHKABCODZLIOK6RTAJ4 -gce portal.gcstage.cloud.nonprod.cirrusdata.com:443 -pkg-mode PRE_RELEASE
|
||||
source /home/aw/code/cds/.env.credentials.local
|
||||
curl https://get.cirrusdata.cloud/install-cmc | bash -s -- -rgc "$CMC_GCSTAGE_REGISTRATION_CODE" -gce portal.gcstage.cloud.nonprod.cirrusdata.com:443 -pkg-mode PRE_RELEASE
|
||||
```
|
||||
|
||||
## Skidamarink Install (Windows)
|
||||
```powershell
|
||||
iex "& { $(irm https://get.cirrusdata.cloud/install-cmc-win) } -rgc BZHKABCODZLIOK6RTAJ4 -gce portal.gcstage.cloud.nonprod.cirrusdata.com:443 -pkg-mode PRE_RELEASE"
|
||||
iex "& { $(irm https://get.cirrusdata.cloud/install-cmc-win) } -rgc $env:CMC_GCSTAGE_REGISTRATION_CODE -gce portal.gcstage.cloud.nonprod.cirrusdata.com:443 -pkg-mode PRE_RELEASE"
|
||||
```
|
||||
|
||||
## Uninstall (Linux)
|
||||
|
||||
Reference in New Issue
Block a user