Skip to content

Conversation

@cveticm
Copy link
Collaborator

@cveticm cveticm commented Sep 3, 2025

Proposed changes

Before, if authType was already set, we would not check to see if another auth type is available, this would cause env vars to be ignored in the case:

  • profile you run the command with is of different auth type to credentials you are setting with env vars

Caveat:
We still have the issue of default showing when default profile does not exist and env vars are set when running atlas config list as the auth type will be set
atlas config describe default shows that only auth tpye is set, and is set to the auth type of the credentials provided through env vars.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 64.152% (-0.003%) from 64.155%
when pulling 613fe93 on chore_env_var_fix
into f5f8742 on master.

@cveticm cveticm closed this Sep 4, 2025
@cveticm cveticm deleted the chore_env_var_fix branch September 4, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants