cloud:recipe:coding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
cloud:recipe:coding [2020/05/14 14:07] – [Sample Configuration File] chudler | cloud:recipe:coding [2020/05/14 14:51] – [Demo Code] chudler | ||
---|---|---|---|
Line 48: | Line 48: | ||
</ | </ | ||
- | The main flaw here is that you are taking risks by storing your University credentials in a file. Instead, you can use the API or web interface to create an Application Credential. | + | The main flaw here is that you are taking risks by storing your University credentials in a file. Instead, you can use the API or web interface to create an Application Credential. |
+ | |||
+ | < | ||
+ | openstack application credential create --secret sekret --role member --expiration 2020-10-10: | ||
+ | </ | ||
=====Testing and Usage===== | =====Testing and Usage===== | ||
Ensure you can load the python module | Ensure you can load the python module | ||
Line 67: | Line 71: | ||
======Demo Code====== | ======Demo Code====== | ||
- | The following code shows how to create and destroy a server, and obtain information about Networks, Images, and Flavors. Consult the [[ https:// | + | The following |
+ | |||
+ | For your learning, contrast this with the equivalent actions that are taken in the [[ cloud:cli | Command Line Usage Guide ]]. | ||
< | < |
/var/lib/dokuwiki/data/pages/cloud/recipe/coding.txt · Last modified: 2020/05/14 18:32 by chudler