Ubuntu Pastebin

Paste from arosales at Wed, 23 Mar 2016 00:49:47 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
arosales@x230:~$ juju list-credentials
CLOUD  CREDENTIALS
aws    test

arosales@x230:~$ touch .local/share/juju/credentials/cred.yaml 
arosales@x230:~$ juju list-credentials
CLOUD  CREDENTIALS
aws    test

arosales@x230:~$ cat  .local/share/juju/credentials/cred.yaml 
credentials:
   aws:
    default-credential: east1 
    default-region: us-east1
    east1:
      auth-type: access-key
      access-key: <removed>
      secret-key: <removed>
    west2:
      auth-type: access-key
      access-key: <removed>
      secret-key: <removed>
arosales@x230:~$ 

# renamed cred.yaml to credentials.yaml

arosales@x230:~$ mv ~/.local/share/juju/credentials/cred.yaml ~/.local/share/juju/credentials/credentials.yaml
arosales@x230:~$ juju list-credentials
CLOUD  CREDENTIALS
aws    test

arosales@x230:~$ juju update-clouds
Fetching latest public cloud list... 
no new public cloud information available at this time
arosales@x230:~$ juju list-credentials
CLOUD  CREDENTIALS
aws    test
Download as text