I’m messing about and loaded some variables in the wrong path/policy and i managed to delete the policy but deleting it didn’t delete the variables or hosts is there a way to revoke/remove stuff like hosts and variables?
https://developer.conjur.net/reference/services/directory/variable
cant seem to find a delete in there
You can use resource “!delete” action like this test does here: https://github.com/cyberark/conjur/blob/master/cucumber/api/features/policy_load_modes.feature#L97-L98. You would then apply this with
–delete
or
–replace
flag when you do
conjur policy load
Policy to load:
!delete record: !variable a
thanks I’ll give this a try.