<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BASH on My Cloudy World</title><link>http://jadenetworksolutions.co.uk/tags/bash/</link><description>Recent content in BASH on My Cloudy World</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>gblake@jadenetworks.co.uk (Gary Blake)</managingEditor><webMaster>gblake@jadenetworks.co.uk (Gary Blake)</webMaster><copyright>Copyright © 2019–2026, Gary Blake; all rights reserved.</copyright><lastBuildDate>Thu, 28 Aug 2025 00:00:00 +0000</lastBuildDate><atom:link href="http://jadenetworksolutions.co.uk/tags/bash/index.xml" rel="self" type="application/rss+xml"/><item><title>VCF Installer: Retrieve Component Passwords from VCF Installer</title><link>http://jadenetworksolutions.co.uk/post/vcf-90/vcf-90-installer-retrieve-passwords/</link><pubDate>Thu, 28 Aug 2025 00:00:00 +0000</pubDate><author>gblake@jadenetworks.co.uk (Gary Blake)</author><guid>http://jadenetworksolutions.co.uk/post/vcf-90/vcf-90-installer-retrieve-passwords/</guid><description><p>When the auto-generate passwords options is selected within the VCF Installer UI, there maybe a scenario where you need to perform troubleshooting and a need to login to one of the underlying component appliances. Of course this is only possible if you know the passwords that were auto-generated, its relatively simple to retrieve the JSON specification used to perform the implementation from the VCF Installer appliance itself.</p><p>The following procedure demonstrates how you can retrieve a specific section of the JSON specification.</p></description></item><item><title>Authentication Using Curl for VCF Operations Fleet Management</title><link>http://jadenetworksolutions.co.uk/post/vcf-90/vcf-90-ops-fleet-mgmt-curl-authentication/</link><pubDate>Tue, 28 Jan 2025 00:00:00 +0000</pubDate><author>gblake@jadenetworks.co.uk (Gary Blake)</author><guid>http://jadenetworksolutions.co.uk/post/vcf-90/vcf-90-ops-fleet-mgmt-curl-authentication/</guid><description><p>In this post we will look at the process of authenticating to VCF Operations Fleet Management.</p><p><strong>VCF Operations Fleet Management APIs Used</strong></p><ul><li>GET /lcm/health/api/v2/status</li></ul><h3 id="authenticating-to-vcf-operations-fleet-management-using-curl">Authenticating to VCF Operations Fleet Management Using Curl</h3><p><strong>Procedure</strong></p><ol><li><p>Connect to a Linux based operating system over SSH.</p></li><li><p>Replace the values in the sample code with values for your VCF Operations Fleet Management and run the commands SSH session.</p></li></ol><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl"><span class="nv">ariaSuiteLifecycleFqdn</span><span class="o">=</span><span class="s1">$'flt-fm01.rainpole.io'</span></span></span><span class="line"><span class="ln">2</span><span class="cl"><span class="nv">ariaSuiteLifecycleUser</span><span class="o">=</span><span class="s1">$'admin@local'</span></span></span><span class="line"><span class="ln">3</span><span class="cl"><span class="nv">ariaSuiteLifecyclePass</span><span class="o">=</span><span class="s1">$'VMw@re1!VMw@re1!'</span></span></span></code></pre></div><ol start="3"><li>Connect to VCF Operations Fleet Management with the provided credentials and check the health by running the following command:</li></ol><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">curl -k -X GET<span class="s2">"https://</span><span class="nv">$ariaSuiteLifecycleFqdn</span><span class="s2">/lcm/health/api/v2/status"</span> -u<span class="s2">"</span><span class="nv">$ariaSuiteLifecycleUser</span><span class="s2">:</span><span class="nv">$ariaSuiteLifecyclePass</span><span class="s2">"</span> -H<span class="s2">"accept: application/json"</span> -H<span class="s2">"Content-Type: application/json"</span><span class="p">|</span> json_pp</span></span></code></pre></div></description></item><item><title>Obtaining a Token Using Curl for VCF Operations for Networks</title><link>http://jadenetworksolutions.co.uk/post/vcf-90/vcf-90-ops-networks-curl-authentication/</link><pubDate>Tue, 14 Jan 2025 00:00:00 +0000</pubDate><author>gblake@jadenetworks.co.uk (Gary Blake)</author><guid>http://jadenetworksolutions.co.uk/post/vcf-90/vcf-90-ops-networks-curl-authentication/</guid><description><p>In this post we will look at the process of obtaining an authentication token from VCF Operations for networks which we can then use in subsequent API requests.</p><p><strong>VCF Operations for Networks APIs Used</strong></p><ul><li>POST /api/ni/auth/token</li><li>DELETE /api/ni/auth/token</li><li>GET /api/ni/info/version</li></ul><h3 id="obtaining-an-authentication-token-from-vcf-operations-for-networks">Obtaining an Authentication Token From VCF Operations for Networks</h3><p>In this procedure, we will use the<strong>/api/ni/auth/token</strong> API passing valid credentials to perform the authentication process and obtain an authentication token for the session. Then reading the response from the curl request we will extract the<em>token</em> portion placing it into a variable named<em>TOKEN</em>. Once we have done this we will have a valid authentication token which can be used within future curl requests.</p></description></item></channel></rss>