Code Monkey home page Code Monkey logo

Comments (5)

msawant060 avatar msawant060 commented on August 31, 2024 1

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

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.

crsimmons avatar crsimmons commented on August 31, 2024

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.

michaellihs avatar michaellihs commented on August 31, 2024

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.

crsimmons avatar crsimmons commented on August 31, 2024

Great! I'm glad I could help :)

from control-tower.

msawant060 avatar msawant060 commented on August 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.