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
Is your feature request related to a problem? Please describe.
It's very easy to wipe out your entire configuration via the CLI. I've done this multiple times while trying to configure Conjur Enterprise for my organization.
Describe the solution you would like
As with other Infrastructure as Code tools, display a plan for the changes to be made, then request the user to acknowledge those changes.
Proposed Conjur CLI changes:
$ conjur policy replace -f <path-to-delete-policy> -b root
The requested action will perform the following operations:
DELETE MyOrgDev:group:DevConjurPoc/ConjurDevJenkins-admins
DELETE MyOrgDev:group:DevConjurPoc-admins
DELETE MyOrgDev:variable:conjur/authn-jwt/cloudbees-corebanking/audience
Would you like to proceed? [y/N]
> n
$ conjur policy load -f <path-to-delete-policy> -b root
The requested action will perform the following operations:
CREATE MyOrgDev:group:DevConjurPoc/ConjurDevJenkins-admins
CREATE MyOrgDev:group:DevConjurPoc-admins
UPDATE MyOrgDev:variable:conjur/authn-jwt/cloudbees-corebanking/audience
Would you like to proceed? [y/N]
> y
$ conjur policy replace -f <path-to-delete-policy> -b root –-auto-approve
The requested action will perform the following operations:
DELETE MyOrgDev:group:DevConjurPoc/ConjurDevJenkins-admins
DELETE MyOrgDev:group:DevConjurPoc-admins
DELETE MyOrgDev:variable:conjur/authn-jwt/cloudbees-corebanking/audience
The –-auto-approve argument has been supplied, so automatically applying the requested changes.
Describe alternatives you have considered
Additional context
I've mentioned this to KK at CyberArk, who's helping us with the build-out, but wanted to raise it here too.
The text was updated successfully, but these errors were encountered:
Got it. Besides for use by developers, the CLI is also used in automation, which would make this a major breaking change. If we were going to do this we'd need to, at the very least, have it behind a configuration flag. But I don't see it getting much backing right now.
Is your feature request related to a problem? Please describe.
It's very easy to wipe out your entire configuration via the CLI. I've done this multiple times while trying to configure Conjur Enterprise for my organization.
Describe the solution you would like
As with other Infrastructure as Code tools, display a plan for the changes to be made, then request the user to acknowledge those changes.
Proposed Conjur CLI changes:
Describe alternatives you have considered
Additional context
I've mentioned this to KK at CyberArk, who's helping us with the build-out, but wanted to raise it here too.
The text was updated successfully, but these errors were encountered: