Setup and status
ck setup
Section titled “ck setup”ck setup [aws|gcloud]Guided setup. Without an argument, it asks whether to set up AWS, Google Cloud, or both.
It writes standard files (~/.aws/config, gcloud configurations), so profiles you already have keep working.
ck setup aws
Section titled “ck setup aws”ck setup awsAdd an AWS profile using one of:
- SSO (IAM Identity Center)
- Access keys
- A chained role, assumed from another profile
ck setup gcloud
Section titled “ck setup gcloud”ck setup gcloudCreate or update a gcloud configuration, log in, and optionally set up Application Default Credentials (ADC). ck setup gcp is an alias.
ck doctor
Section titled “ck doctor”ck doctorCheck your installation and print the command that fixes each problem:
| Section | Checks |
|---|---|
| Common | jq, python3 |
| AWS | AWS CLI v2, Session Manager plugin, expect and nc (for ck ec2 upload), profiles in ~/.aws/config |
| Google Cloud | gcloud, configurations, ADC |
| Shell | CloudKit is sourced from ~/.zshrc or ~/.bashrc |
ck status
Section titled “ck status”ck statusShow the active AWS and gcloud sessions in this terminal. It makes no network calls. See Sessions.
ck version
Section titled “ck version”ck versionPrint the installed CloudKit version.
ck help
Section titled “ck help”ck help # all commandsck help <command> # one command's options, e.g. ck help gce