This page (revision-26) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
26 23-Apr-2022 17:06 30 KB Harry Metske to previous
25 23-Apr-2022 17:05 30 KB Harry Metske to previous | to last
24 23-Apr-2022 17:05 30 KB Harry Metske to previous | to last
23 23-Apr-2022 17:05 29 KB Harry Metske to previous | to last
22 23-Apr-2022 17:05 29 KB Harry Metske to previous | to last
21 23-Apr-2022 17:05 28 KB Harry Metske to previous | to last

Page References

Incoming links Outgoing links
Credhub...nobody

Version management

Difference between version and

At line 13 added one line
* [cf-uaac|https://github.com/cloudfoundry/cf-uaac]
At line 48 changed one line
Mind the uaa.yml and credhub.yml operator files.
Mind the uaa.yml and credhub.yml operator files.\\
When the deployment finishes you will have a creds.yml file that has all k
At line 54 added 2 lines
! Login to credhub
First you need the credhub and uaa cli's, see the resources section for the download URLs. To install uaac, run {{sudo gem install cf-uaac}}.
At line 57 added 7 lines
Then you set the API to credhub:
{{{
metskem@athena-2~/workspace/boshlite/deployments/vbox $ credhub api -s https://192.168.50.6:8844 --ca-cert <(bosh int creds.yml --path /credhub_tls/ca) --skip-tls-validation
Setting the target url: https://192.168.50.6:8844
Warning: The targeted TLS certificate has not been verified for this connection.
Warning: The --skip-tls-validation flag is deprecated. Please use --ca-cert instead.
}}}
At line 65 added 22 lines
First some jq magic to get the UAA URL from the credhub /info api:
{{{
curl -k --silent https://192.168.50.6:8844/info|jq '.["auth-server"].url' -r
https://192.168.50.6:8443
}}}
Login to credhub should be done with a UAA user, so create that first :
You can then use this value for creating the uaa users:
{{{
export UAA_URL=$(curl -k --silent https://192.168.50.6:8844/info|jq '.["auth-server"].url' -r)
uaac target ${UAA_URL} --skip-ssl-validation
}}}