Reference
crab login
Authenticate with cloud storage providers.
Synopsis
crab login [OPTIONS] [<PROVIDER>]Description
crab login initiates authentication with a cloud storage provider (AWS, GCP,
or Azure). It stores credentials securely for subsequent Crab operations.
For conceptual background, see Logging In.
Arguments
| Argument | Required | Description |
|---|---|---|
PROVIDER | No | Provider to authenticate with (aws, gcp, azure). Auto-detected if omitted. |
Options
| Option | Default | Description |
|---|---|---|
--profile | default | Named profile to store credentials under |
--json | false | Emit structured JSON output |
Examples
Login to AWS
crab login awsLogin with a named profile
crab login --profile production awsRelated Commands
crab logout— remove credentials.crab auth status— check auth state.crab config— configure settings.