Recommendations for Using IAM (Identity and Access Management)
To establish secure access to your Open Telekom Cloud resources, follow these recommendations for the Identity and Access Management (IAM) service.
Do Not Create Access Keys for Your Account​
Your account has all the permissions required to access resources and make payments for the usage of resources. Both passwords and access keys (AKs/SKs) are account credentials, and they have the same effect. Passwords are mandatory and used for console login. Access keys are optional, supplementary to passwords, and used for programmatic requests with development tools. Access keys can be lost or accidentally disclosed. To enhance account security, do not create access keys for your account.
Do Not Write Access Keys into Code​
If you use APIs, CLI tools, or SDKs to access cloud services, do not write your access keys into the code.
Create Individual IAM Users​
If someone needs to access resources in your account, do not share your password with them. Instead, create an individual IAM user for them and grant required permissions to the IAM user. You can also create an IAM user for yourself, grant the IAM user administrator permissions, and perform routine management using the IAM user.
Set Appropriate Access Type​
You can set the access type of IAM users, including programmatic access and management console access. Note the following when you set the access type:
- If the user accesses Open Telekom Cloud services only by using the management console, select Management console access for Access Type and Password for Credential Type.
- If the user accesses Open Telekom Cloud services only through programmatic calls, select Programmatic access for Access Type and Access key for Credential Type.
- If the user needs to use a password as the credential for programmatic access to certain APIs, select Programmatic access for Access Type and Password for Credential Type.
- If the user needs to perform access key verification when using certain services in the console, such as creating a data migration job in the Cloud Data Migration (CDM) console, select Programmatic access and Management console access for Access Type and Access key and Password for Credential Type.
Grant Least Privilege​
It is a standard security measure to grant users only the permissions required to perform specific tasks. You can achieve this by using IAM's system-defined or custom policies. The principle of least privilege (PoLP) helps you establish secure access to your Open Telekom Cloud resources.
For IAM users who access cloud services by using APIs, CLI tools, or SDKs, grant them permissions by using custom policies to minimize impact due to accidental access key disclosure or loss.