User Tools

Site Tools


cloud:cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cloud:cli [2021/04/15 16:17] chudlercloud:cli [2021/04/15 16:40] chudler
Line 8: Line 8:
 ===== CONFIGURATION ===== ===== CONFIGURATION =====
  
-Use a clouds.yaml file to direct your client. Below is a canonical example, but you __will__ have to modify the variables according to your account. +Use the ''~/.config/openstack/clouds.yaml'' file to direct your client
-''$HOME/.config/openstack/clouds.yaml'' +
-<code> +
-clouds: +
-  openstack: +
-    auth: +
-      auth_url: https://overcloud.cs.uchicago.edu:5000 +
-      username: "CNetID" +
-      password: "sekret" # don't store your credential on our servers +
-      project_name: "CNetID" +
-      user_domain_name: "CS_LDAP" +
-    region_name: "RegionOne" +
-    interface: "public" +
-    identity_api_version:+
-</code>+
  
-**NOTE** +Instead of taking risks and storing your University credentials in the file, use the [[ https://overcloud.cs.uchicago.edu | Web Interface ]] to create an Application Credential. Click the menu on the left sideProject→API Access. On the right side of the top of the page, click "Download Openstack RC File"→"Openstack clouds.yaml file"
-The problem here is that you are taking risks by storing your University credentials in file. Insteadyou can use the API or [[ https://overcloud.cs.uchicago.edu | web interface ]] to create an Application Credential. For example, +
- +
-<code> +
-openstack application credential create --secret sekret --role member --expiration 2020-10-10:10:10:10 --restricted myapp +
-</code>+
  
 See the [[ cloud:recipe:coding | Python Examples Document ]] for detailed configuration recommendations. See the [[ cloud:recipe:coding | Python Examples Document ]] for detailed configuration recommendations.
/var/lib/dokuwiki/data/pages/cloud/cli.txt · Last modified: 2021/04/15 16:53 by chudler

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki