Changing access keys, which consist of an access key ID and a secret access key, on a regular schedule is a well-known security best practice because it shortens the period an access key is active and therefore reduces the business impact if they are compromised.
Having an established process that is run regularly also ensures the operational steps around key rotation are verified, so changing a key is never a scary step.
BOSH Director Tile ---> AWS Config
BOSH Director Tile ---> Director Config ---> S3 Compatible Blobstore
(Write-Protected)TAS Tile ---> File Storage ---> Configure your Cloud Controller's filesystem
installation.yml
by following the steps outlined below:cd /home/tempest-web/tempest/web/scripts/
installation.yml
and make a temp copy of the file. When prompted for a passphrase, enter the decryption passphrase you created when you launched Ops Manger for the first time.
sudo -u tempest-web SECRET_KEY_BASE="s" ./decrypt /var/tempest/workspaces/default/installation.yml /tmp/installation.yml
/tmp/installation.yml
and update the access keys.cp /var/tempest/workspaces/default/installation.yml ~/installation-orig.yml
sudo -u tempest-web SECRET_KEY_BASE="s" RAILS_ENV=production /home/tempest-web/tempest/web/scripts/encrypt /tmp/installation.yml /var/tempest/workspaces/default/installation.yml
rm /tmp/installation.yml
sudo service tempest-web stop && sudo service tempest-web start
Recreate All VMs
'. This will ensure the new properties are pushed to each VM installation.yml
.