openstack-manuals/doc/src/docbkx/openstack-install/configure-creds.xml

24 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<section xml:id="configure-creds"
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>Defining Compute and Image Service Credentials</title>
<para>Create an openrc file that can contain these variables that
are used by the nova (Compute) and glance (Image) command-line
interface clients. Make a directory to house these.</para>
<literallayout class="monospaced">mkdir ~/creds
sudo nano ~/creds/openrc</literallayout>
<para>In the openrc file you create, paste these values:</para>
<literallayout class="monospaced"><xi:include parse="text" href="samples/openrc.txt"/></literallayout>
<para>Next, ensure these are used in your environment. If you see
401 Not Authorized errors on commands using tokens, ensure
that you have properly sourced your credentials and that all
the pipelines are accurate in the configuration files.</para>
<literallayout class="monospaced">source ~/creds/openrc</literallayout>
</section>