Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is possible to have a ~/.juju/environments.yaml file like this?:

    type: ec2
    access-key: $(cat access-key)
    secret-key: $(cat secret-key)
    control-bucket: juju-8b53699f85c0438c96897ce75f633aa1
    admin-secret: 9a7c512f938f4bafb96365d7ceaf569b
    default-series: precise
    ssl-hostname-verification: true

I'd like to get those keys from gpg output or something which let me cipher them, so I can put the file on Internet and nobody could be able to use my ec2 account.

share|improve this question
up vote 1 down vote accepted

No, these are YAML files not bash, as such they are taken as string key => value assignments under normal YAML rules. If you're going to post your configuration file on the internet before sure to first blank the access-key and secret-key fields

share|improve this answer
I'd prefer to integrate the keys there so I can forget about them, anyway, thanks for the answer. – chilicuil Feb 20 '13 at 19:50
You'll want to open a feature request against the project then – Marco Ceppi Feb 20 '13 at 21:42
I've just file it, , thanks Marco! – chilicuil Feb 21 '13 at 5:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.