1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/installation-ibm-cloud-creating-api-key.adoc
2023-11-15 11:13:03 +00:00

22 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// installing/installing_ibm_cloud_public/installing-ibm-cloud-account.adoc
// installing/installing_ibm_powervs/installing-ibm-cloud-account-power-vs.adoc
:_mod-docs-content-type: PROCEDURE
[id="installation-ibm-cloud-creating-api-key_{context}"]
= Creating an API key
You must create a user API key or a service ID API key for your {ibm-cloud-name} account.
.Prerequisites
* You have assigned the required access policies to your {ibm-cloud-name} account.
* You have attached you IAM access policies to an access group, or other appropriate resource.
.Procedure
* Create an API key, depending on how you defined your IAM access policies.
+
For example, if you assigned your access policies to a user, you must create a link:https://cloud.ibm.com/docs/account?topic=account-userapikey[user API key]. If you assigned your access policies to a service ID, you must create a link:https://cloud.ibm.com/docs/account?topic=account-serviceidapikeys[service ID API key]. If your access policies are assigned to an access group, you can use either API key type. For more information on {ibm-cloud-name} API keys, see link:https://cloud.ibm.com/docs/account?topic=account-manapikey&interface=ui[Understanding API keys].