Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default account when no account name is provided to conjurctl commands #2082

Closed
h-artzi opened this issue Mar 24, 2021 · 5 comments · Fixed by #2388
Closed

Add default account when no account name is provided to conjurctl commands #2082

h-artzi opened this issue Mar 24, 2021 · 5 comments · Fixed by #2388

Comments

@h-artzi
Copy link
Contributor

h-artzi commented Mar 24, 2021

If no account is passed to conjurctl commands have the account be set to a default value.

Example: conjurctl account create would create an admin user for the default account.

@izgeri
Copy link
Contributor

izgeri commented Mar 26, 2021

+1 on calling the default account default

@alexkalish
Copy link
Contributor

There was actually an internal email chain to make this official. @InbalZilberman: This is what we settled on, right?

@dataplex
Copy link

I love this... can we also expand this to any tooling that talks to Conjur that can automatically resolve the account name for an intsance?

@amosmintzcyberark
Copy link
Contributor

I maybe new to conjur, but, won't it create a potential security risk ?

@izgeri
Copy link
Contributor

izgeri commented Mar 29, 2021

@dataplex that is the goal - all clients can also be updated to assume a default account name if none is provided.

@amosmintzcyberark permissioning in Conjur remains the same, this just removes a manual configuration step that in the vast majority of cases is not required.

szh added a commit that referenced this issue Oct 13, 2021
szh added a commit that referenced this issue Oct 13, 2021
szh added a commit that referenced this issue Oct 13, 2021
szh added a commit that referenced this issue Oct 14, 2021
szh added a commit that referenced this issue Oct 14, 2021
szh added a commit that referenced this issue Oct 14, 2021
Resolves #2082.
Chose not to use `default_value` in `conjur-cli.rb` because the name can be provided by either a flag or argument,
and having a default value set by GLI would make it difficult to ascertain which to use.
szh added a commit that referenced this issue Oct 14, 2021
Resolves #2082.
Chose not to use `default_value` in `conjur-cli.rb` because the name can be provided by either a flag or argument,
and having a default value set by GLI would make it difficult to ascertain which to use.
@szh szh closed this as completed in #2388 Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants