New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibmcloud authentication support #1315
Comments
For a new ibm cloud, is the python script at the end necessary for creating a softlayer user? |
The script at the end of https://sldn.softlayer.com/article/authenticating-softlayer-api/? No, It shouldn't be neccessary. An API key created here ( https://cloud.ibm.com/iam/apikeys ) should work in the latest versions of the SLCLI (with the username "apikey"). An API created here ( https://cloud.ibm.com/iam/users/?tab=userdetails) is the legacy style, where you would authenticate with the api username, and api key. Currently it is the only style of authentication the SLCLI supports. |
Yes, using apikey with the new api works now, however that started working after i ran the script, but i guess i have missed some step. Thank you! |
… its own command
Support for ibmcloud IAM identities.
slcli config setup
Should allow for users to setup with their ibmcloud user/pass like the
ibmcloud cli
does.The difference would be this setup would still add an API key for further use (ibmcloud just re-auths with a refresh token I believe).
transport support
rest/xmlrpc transports should support this format.
Process
Described a bit here: https://sldn.softlayer.com/article/authenticating-softlayer-api/
basically query https://iam.cloud.ibm.com/identity/ to get the iam_token
use that token to create an API key
setup that api key in the ~/.softlayer file
The text was updated successfully, but these errors were encountered: