- 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
66 lines
2.0 KiB
Markdown
66 lines
2.0 KiB
Markdown
# ATVM Accounts And Credentials
|
|
|
|
This file organizes the ATVM lab account and credential information that was preserved from the original long-form notes.
|
|
All secret values have been moved to `/home/aw/code/cds/.env.credentials.local`.
|
|
Use the variable names below instead of storing raw credentials in tracked files.
|
|
|
|
## CMC GCStage
|
|
- URL:
|
|
- `CMC_GCSTAGE_URL`
|
|
|
|
## CMC ATVM Test Account
|
|
- User:
|
|
- `CMC_TEST_USER`
|
|
- Password:
|
|
- `CMC_TEST_PASSWORD`
|
|
- 2FA registration code:
|
|
- `CMC_TEST_TOTP_SECRET`
|
|
- CMC API token:
|
|
- `CIRRUS_API_TOKEN`
|
|
- Xray location for failed tests:
|
|
- `../cdc-e2e/cypress/cmcXray`
|
|
|
|
## CMC User-Administration Test Account
|
|
- User:
|
|
- `CMC_USERADMIN_TEST_USER`
|
|
- Password:
|
|
- `CMC_USERADMIN_TEST_PASSWORD`
|
|
- 2FA registration code:
|
|
- `CMC_USERADMIN_TOTP_SECRET`
|
|
- CMC API token:
|
|
- `CMC_USERADMIN_API_TOKEN`
|
|
|
|
## Red Hat Free Subscription Account
|
|
- User:
|
|
- `REDHAT_SUBSCRIPTION_USER`
|
|
- Password:
|
|
- `REDHAT_SUBSCRIPTION_PASSWORD`
|
|
- Registration command:
|
|
- `subscription-manager register --username "$REDHAT_SUBSCRIPTION_USER" --password "$REDHAT_SUBSCRIPTION_PASSWORD"`
|
|
- Re-register sequence:
|
|
```none
|
|
# subscription-manager remove --all
|
|
# subscription-manager unregister
|
|
# subscription-manager clean
|
|
# subscription-manager register --username "$REDHAT_SUBSCRIPTION_USER" --password "$REDHAT_SUBSCRIPTION_PASSWORD"
|
|
```
|
|
- Renewal link:
|
|
- `https://developers.redhat.com/products/rhel/download#publicandprivatecloudreadyrhelimages`
|
|
|
|
## Related Host Credentials
|
|
- ATVM controller host:
|
|
- `ATVM_CONTROLLER_USER / ATVM_CONTROLLER_PASSWORD`
|
|
- `ATVM_CONTROLLER_ALT_USER / ATVM_CONTROLLER_ALT_PASSWORD`
|
|
- Linux repository VM:
|
|
- `ATVM_REPO_USER / ATVM_REPO_PASSWORD`
|
|
- vCenter `192.168.0.201`:
|
|
- `VCENTER_USER / VCENTER_PASSWORD`
|
|
- ESXi `192.168.1.165`:
|
|
- `ESXI_HOST_1_USER / ESXI_HOST_1_PASSWORD`
|
|
- ESXi `192.168.1.166`:
|
|
- `ESXI_HOST_2_USER / ESXI_HOST_2_PASSWORD`
|
|
|
|
## Preserved Source
|
|
- Full original notes remain in:
|
|
- `archive/imported-notes/cypress-automation-for-cmc.md`
|