| pubkey = b64decode(env_conf['environment-pubkey']).decode('utf-8') | |
| privkey = b64decode(env_conf['environment-privkey']).decode('utf-8') | |
| with open('{}/.juju/ssh/juju_id_rsa'.format(HOME), 'w+') as e_file: | |
| e_file.write(pubkey) | |
| with open('{}/.juju/ssh/juju_id_rsa.pub'.format(HOME), 'w+') as e_file: | |
| e_file.write(privkey) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment