You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and AWS_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)
The text was updated successfully, but these errors were encountered:
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:
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
).~/.aws/
).cortex env configure <env_name>
.cortex cluster info -c cluster.yaml
.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
The text was updated successfully, but these errors were encountered: