Install Password Service
2 min
The service installation is performed using the Helm chart obtained from the Helm repository.
# helm install kron-pam-aapm-service kron-pam/kron-aapm-service \
--namespace kron-pam-aapm \
--set image.tag=0.0.1_amd64 \
--set tls.enabled=true \
--set tls.password="topsecret" \
--set tls.alias="kron-alias"
To test the Password Service, the test command is executed using the Helm package manager. This allows for testing whether the service is running correctly.
# helm test kron-pam-aapm-service
To call the service from within the application, a POST request is sent to the service URL. The URL used corresponds to the namespace in which the Password Service is deployed.
curl --cacert /tmp/kron-pam-aapm-service.crt -X POST https://kron-pam-aapm-service:8443/vault \
-H "Content-Type: application/json" \
-d '{
"token": "<token>",
"accountName": "<account_name>",
"accountPath": ""<account_path>"",
"responseType": "JSON"
}' | tee response.json