The AWS services or features that the program can use to switch between multiple IAM roles are AWS CLI and AWS Security Token Service (AWS STS) API. Options A and B are the correct answers.
The AWS CLI provides a command-line interface that can be used to interact with AWS services, including the ability to assume IAM roles.
AWS Security Token Service (AWS STS) is a web service that enables you to request temporary, limited-privilege credentials for AWS services. You can use STS to assume a role, which allows you to switch between IAM roles in your application.
B. AWS Security Token Service (AWS STS) API
The AWS Security Token Service (STS) API can be used to request temporary security credentials for IAM roles. The program can use the STS API to assume an IAM role and obtain temporary credentials that are associated with that role. The temporary credentials can be used to access AWS resources and services that the IAM role is authorized to access.
A. AWS CLI
The AWS Command Line Interface (CLI) is a command-line tool that can be used to interact with AWS services and resources, including the AWS STS API. The program can use the AWS CLI to assume an IAM role and obtain temporary security credentials that are associated with that role.
B. AWS Security Token Service (AWS STS) API: The AWS Security Token Service (STS) is a web service that enables you to request temporary, limited-privilege credentials for IAM users or for users that you authenticate (such as federated users and mobile application users). The AWS STS API allows the developer to programmatically request temporary security credentials for any IAM user or role in the developer's AWS account. These temporary security credentials can be used to access AWS resources without the need to share long-term security credentials.
A. AWS CLI: The AWS CLI (Command Line Interface) is a unified tool that enables developers to interact with AWS services using commands in their terminal. The AWS CLI includes built-in support for IAM roles, and the developer can use the "aws sts assume-role" command to assume an IAM role and obtain temporary security credentials.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Guru4Cloud
2 years agoRajithaR
2 years, 1 month agolinux_admin
2 years, 1 month agoAmycert
2 years, 1 month ago