-
Notifications
You must be signed in to change notification settings - Fork 605
Closed
Description
Description
Non-cluster (get/deploy/delete/logs/refresh/predict) CLI commands will only use AWS creds from the environment configured by cortex env configure <env_name>
.
Cortex cluster commands will use AWS credentials based on this priority:
- Environment variables (
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
). - AWS config (default credentials
~/.aws/
). - Cortex CLI config set via
cortex env configure <env_name>
. - Cortex Cluster config - not relevant for your case because you aren't specifying the cluster configuration to the command e.g.
cortex cluster info -c cluster.yaml
. - Cortex CLI prompt.
The differences in behaviour between cluster commands and non-cluster commands can be confusing for users. It is also not obvious which credentials are being used by the cluster commands.
The cluster commands can not rely on the environment because the current implementation of the environment requires an operator url for AWS provider.
Additional context
- How do other tools that run on top of AWS do their credential management (e.g. serverless)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request