Created
July 14, 2025 12:59
-
-
Save mike-weiner/5c236c410eb002fc0ea601787f42aca9 to your computer and use it in GitHub Desktop.
A shorthand to fetch an IBM Cloud Access Token and store it in a shell environment variable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export TOKEN=$(ibmcloud iam oauth-tokens | awk '{print $4}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment