-
Notifications
You must be signed in to change notification settings - Fork 306
Acceptance Process
Paul Warren edited this page Nov 17, 2020
·
1 revision
placeholder. Will fill later.
- Grab the
cf
admin URL from credhub
# assumes you have direnv is installed
$ cd relint-envs/environments/pm/acceptance
# Find the admin user. Assumes credhub is installed
$ credhub find -n admin
credentials:
- name: /bosh-relint-acceptance/cf/credhub_admin_client_secret
version_created_at: "2019-10-17T20:58:30Z"
- name: /bosh-relint-acceptance/cf/uaa_admin_client_secret
version_created_at: "2019-10-17T20:58:27Z"
- name: /bosh-relint-acceptance/cf/cf_admin_password # <--- We care about this. We will use the URL in the next command
version_created_at: "2019-10-17T20:58:26Z"
- name:....
- Grab the password for
cf_admin
$ credhub get -n /bosh-relint-acceptance/cf/cf_admin_password # <---- URL copied from previous command
id: 9efb9523-3e63-480f-a088-4911e42902c6
name: /bosh-relint-acceptance/cf/cf_admin_password
type: password
value: <some password text> # <------ copy this password and store in a secure place. We will use the password in the next command
version_created_at: "2019-10-17T20:58:26Z"
- Login into CF
$ cf login
API endpoint: https://api.relint-acceptance.cf-app.com
Email> admin # <--- though it says email, just type in `admin`
Password> # <--- paste the password here and then press enter. Though it will not show anything, it does paste the password
# after you press enter, you should see this
Authenticating...
OK
Targeted org system
API endpoint: https://api.relint-acceptance.cf-app.com (API version: 2.142.0)
User: admin
Org: system
Space: No space targeted, use 'cf target -s SPACE'