February 25, 2020 By Michelle Kaufman
Martin Smolny
2 min read

What are IBM Cloud API keys?

IBM Cloud API keys are credentials that are associated with a user’s identity in an IBM Cloud account. Only a specific user can create, update, and delete an API key for themself in an account. The API key often acts as both a unique identifier and a secret token for authentication, and it has a set of access privileges that is specific to the user who created it. API keys can be used in the command-line interface (CLI) or as part of automation to log in to applications as a specific user. 

API key cleanup for users removed from an account 

When you remove a user from an account, all of the Identity and Access Management (IAM) access policies for the user are deleted, so the user loses all access to resources in that account. However, previously, the API keys for removed users were not deleted automatically, so API keys still existed for users without access to the account. 

Don’t worry, this wasn’t a security issue because the user’s access is taken away when they are removed from the account. However, before the recent changes, if you happened to add the user back to the account, the API keys they created for themselves were still available to be used again. 

We understand that you might not expect the API keys to be kept after you remove a user, so we updated the way API keys are handled for users that are removed from an account. There is no action or cleanup that you need to do. IBM Cloud now completes the following actions on your behalf when you remove a user from your account:

  • If a user is removed from an account, the API keys are immediately removed.
  • If a user is added back to an account, the API keys that they previously created are no longer available or valid.
  • If a user was removed from an account before this update, we’ll make sure that their API keys are removed too.

Check out the documentation to learn more about API keys in IBM Cloud.

More from Announcements

IBM Consulting augments expertise with AWS Competencies: A win-win for clients 

3 min read - In today's dynamic economic landscape, businesses demand continuous innovation and speed of execution. At IBM Consulting®, our unwavering focus on partnerships and shared commitment to delivering enterprise-level solutions to mutual clients have been core to our success.   We are thrilled to announce that IBM® has recently gained five competencies from Amazon Web Services (AWS) in vital domains including Cloud Operations, Internet of Things (IoT), Life Sciences, Mainframe Modernization, and Telecommunications. With these credentials, IBM further establishes its position as a…

Probable Root Cause: Accelerating incident remediation with causal AI 

5 min read - It has been proven time and time again that a business application’s outages are very costly. The estimated cost of an average downtime can run USD 50,000 to 500,000 per hour, and more as businesses are actively moving to digitization. The complexity of applications is growing as well, so Site Reliability Engineers (SREs) require hours—and sometimes days—to identify and resolve problems.   To alleviate this problem, we have introduced the new feature Probable Root Cause as part of Intelligent Incident…

Reflecting on IBM’s legacy of environmental innovation and leadership

4 min read - Upholding a legacy of more than 50 years of environmental responsibility through our company’s actions and commitments, IBM continues to be a leader in driving sustainability for our business, our communities and our clients—including a 34-year history of annual, public environmental reporting, which we continue today. As a hybrid cloud and artificial intelligence (AI) company, we believe that leveraging technology is key to unlocking impact, and it will play a substantial role in how society addresses, adapts to, and overcomes…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters