Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

environments:
  sample:
    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
add comment

1 Answer

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, bugs.launchpad.net/juju/+bug/1131038 , thanks Marco! –  chilicuil Feb 21 '13 at 5:15
add comment

Your Answer

 
discard

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.