You can start from the scratch on Amazon Linux ec2 instance for installing Docker by following the step:
sudo yum update -y
sudo amazon-linux-extras install docker
sudo yum install docker
sudo service docker start
Note as indicated, it is a bit challenging to make sure the GW is fully disconnects from SaaS. Make sure when you fetch the secret you set export AKEYLESS_GATEWAY_URL="https://rest-GW_URL"
There are few ways to make sure secrets are taken from the cache.
The simple way query the secret, change it and query it again twice. The 1st attempt should give the old version and the 2nd should give the updated version.
The “hard” why - forcing GW disconnect (detailed below)
The Akeyless CLI Poller Script is a bash script designed to periodically check for new or updated secrets in an Akeyless vault using the Akeyless CLI. It's intended to be run as a cron job, providing an efficient way to monitor and process changes to secrets.
- Configurable path to the Akeyless CLI executable
- Efficient polling using the
--modified-after
flag
- "certificate": File containing a PEM encoded certificate or certificate trust chain that will be used to verify the authentication certificates.
- "unique identifier": A field from the sub-claims which are taken from the certificate to uniquely identify the client (such as "common_name" or "organizational_unit").