Conjur: How to enable authenticators in Conjur Follower Operator deployed with OpenShift OLM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Secrets Management Articles
2 min read
L1 Bithead
No ratings
For Conjur Follower deployed with conjur-appliance image, we can simply use any of the following methods to enable authenticator:

1. Use evoke command:
evoke variable set CONJUR_AUTHENTICATORS authn-k8s/dev-cluster
(assuming authenticator to be enabled is authn-k8s/dev-cluster) 

2. Add the following line in /opt/conjur/etc/conjur.conf file in the Kubernetes Follower, followed by the restart of conjur, postgres, and nginx services.
CONJUR_AUTHENTICATORS=authn-k8s/dev-cluster

However, in the Conjur Follower Operator deployed with OpenShift OLM:
- conjur.conf file is not present, and
- evoke command is not available.

 

Steps

For Conjur Follower deployed with conjur-appliance image, follow the steps below for enabling authenticator:

(assuming authenticators to be enabled are both "authn" and "authn-k8s/dev-cluster")

1. Ensure that you have a local conjur.yml file with content as follow:
#List of authenticators enabled for this node
authenticators:
- authn-k8s/dev-cluster
- authn
Reference:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.6/en/Content/Deployment/DAP/manage-confi...

2. Using oc command to apply local conjur.yml file above to the Kubernetes Follower by storing the file in a ConfigMap:
oc create configmap -n cyberark-conjur conjur-config --from-file=conjur.yml=path/to/local/conjur.yml

For reference, refer to this section:
"4. (OPTIONAL) Create a ConfigMap for the Conjur configuration file"

, under:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.6/en/Content/Integrations/k8s-ocp/k8s-k8...

3. During the deployment of Kubernetes Follower, ensure that under "From a ConfigMap", enter ConfigMap key and name created earlier:
-Key: conjur.yml
-Name: conjur-config

For more details, refer to the "5. Deploy the Kubernetes Follower" step mentioned in:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.6/en/Content/Integrations/k8s-ocp/k8s-k8... ​​​​​​​
Rate this article:
  • 1430 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎02-06-2023 03:48 PM
Updated by: