diff options
Diffstat (limited to 'src/posts')
-rw-r--r-- | src/posts/simple-openstack-clients.hbs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/posts/simple-openstack-clients.hbs b/src/posts/simple-openstack-clients.hbs index 6d7b6e4..4fa4fad 100644 --- a/src/posts/simple-openstack-clients.hbs +++ b/src/posts/simple-openstack-clients.hbs | |||
@@ -41,9 +41,9 @@ client = os_client_config.make_client('image', cloud='mtvxx') | |||
41 | <pre><code> | 41 | <pre><code> |
42 | client = os_client_config.make_client( | 42 | client = os_client_config.make_client( |
43 | 'network', | 43 | 'network', |
44 | auth_url=OS_AUTH_URL, username=OS_USERNAME, | 44 | auth_url='https://example.com', username='my-user', |
45 | password=OS_PASSWORD, project_name=OS_PROJECT_NAME, | 45 | password='awesome-password', project_name='my-project', |
46 | region_name=OS_REGION_NAME) | 46 | region_name='the-best-region') |
47 | </code></pre> | 47 | </code></pre> |
48 | 48 | ||
49 | <p>Make a barbican client from env vars with all the standard arguments | 49 | <p>Make a barbican client from env vars with all the standard arguments |
@@ -104,9 +104,9 @@ session = os_client_config.session_client('image', cloud='mtvxx') | |||
104 | <pre><code> | 104 | <pre><code> |
105 | session = os_client_config.session_client( | 105 | session = os_client_config.session_client( |
106 | 'network', | 106 | 'network', |
107 | auth_url=OS_AUTH_URL, username=OS_USERNAME, | 107 | auth_url='https://example.com', username='my-user', |
108 | password=OS_PASSWORD, project_name=OS_PROJECT_NAME, | 108 | password='awesome-password', project_name='my-project', |
109 | region_name=OS_REGION_NAME) | 109 | region_name='the-best-region') |
110 | </code></pre> | 110 | </code></pre> |
111 | 111 | ||
112 | <p>Make a barbican Session object from env vars with all the standard | 112 | <p>Make a barbican Session object from env vars with all the standard |