Comments (5)
Whenever I try running the command I am getting a error:
control-tower info --region ap-northeast-1 --iaas aws pcf-concourseNoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
I just need to export my aws use export AWS_ACCESS_KEY_ID=xxx and export AWS_SECRET_ACCESS_KEY=yyy before
from control-tower.
Hey @michaellihs,
You can accomplish this with the --json
flag on control-tower info
. For example the following will get you the password:
control-tower info --iaas aws --json deployment | jq -r '.config.concourse_password'
The username is always admin
.
Edit: I just double checked and standard control-tower info
should also contain the Concourse credentials (albeit not in a very machine parseable format). Are you not seeing a section in the output labelled Concourse credentials
? Or are there other credentials you are expecting to find?
from control-tower.
Thanks a lot for the --json
tip, that does the trick!
My problem was that I used the --env
flag (without knowing that this changes the output).
$ control-tower info --region europe-west1 --iaas gcp --env concourse
export BOSH_ENVIRONMENT=...
export BOSH_GW_HOST=...
export BOSH_CA_CERT=...
export BOSH_DEPLOYMENT=concourse
export BOSH_CLIENT=admin
export BOSH_CLIENT_SECRET=...
export BOSH_GW_USER=jumpbox
export BOSH_GW_PRIVATE_KEY=...
export CREDHUB_SERVER=...
export CREDHUB_CA_CERT=...
export CREDHUB_CLIENT=credhub_admin
export CREDHUB_SECRET=...
export NAMESPACE=europe-west1
I am very happy with JSON now :)
And btw: thanks for your immediate responses!!!
from control-tower.
Great! I'm glad I could help :)
from control-tower.
Whenever I try running the command I am getting a error:
control-tower info --region ap-northeast-1 --iaas aws pcf-concourse
NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
from control-tower.
Related Issues (20)
- Setting environment variables on the web node
- Configuration for RDS encrpytion HOT 1
- web node terminated with volume deleted in AWS. HOT 5
- `control-tower deploy` fails on "Waiting for the agent on VM '...' to be ready" after running from a non-static ip address (AWS) HOT 2
- Web node kept getting recreated. HOT 2
- Docker image put task hung for a long time. HOT 6
- Error from "control-tower info": bosh orchestrator down, unable to diagnose HOT 3
- Secrets for `aws_access_key_id` and `aws_secret_access_key` not saved to credhub when updating to 0.20.4
- Upgrade to version 0.22.1 caused web worker to fail HOT 5
- Options for dynamic scaling of workers? HOT 1
- Unable to access Credhub CLI
- All builds stuck "discovering any new versions", seems to be NATS cert expiry underneath, recover instructions not worked HOT 7
- Update README to state Control Tower is no longer being maintained HOT 6
- Terraform error running commands with standard set up
- Add "rotate NATS Certificate" job to self update jobs HOT 1
- self update job resets team permissions HOT 15
- Adopt Bionic Stemcells HOT 3
- Terraform tries to downgrade Postgres from 9.6.20 to 9.6.18 HOT 5
- Update bosh ci to at least 5.2.1 HOT 7
- Rotate the AWS access keys of the IAM users created by Terraform HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from control-tower.