Torque is a force that causes rotation (of secrets)
Torque will rotate ci user passwords in UAA, and writes them to environment variables in circleci projects.
Given this config.yaml:
cfs:
- uaa_href: uaa.mycloudfoundry.com
suffix: STAGING
orgs:
- name: test-org
spaces:
- name: test-space
repos:
- govau/myrepo1
- govau/myrepo2
The app ensures these repos are being built in circleci.
The app changes the password for the user in CloudFoundry UAA called ci-test-org-test-space.
The app ensures the following environment variable is set in circleci for each repo:
The app ensures there is a user in CloudFoundry UAA called ci-test-org-test-space with the SpaceDeveloper role on test-space in cf instances.
The app ensures the following environment variables are set in circleci for each repo:
uaac client add torque \
--name torque \
--secret "${CLIENT_SECRET}" \
--authorized_grant_types client_credentials,refresh_token \
--authorities uaa.admin
Content type
Image
Digest
Size
15.3 MB
Last updated
almost 7 years ago
docker pull govau/torque