STS Flashcards

This deck aims to help retain concepts related to the STS service.

1
Q

Which AWS service allows users to request temporary, limited-privilege credentials?

A

AWS Security Token Service (STS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the primary functionality of AWS STS?

A

To generate temporary credentials when the sts:AssumeRole* operation is used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What pieces of credentials does AWS STS provide?

A
  • AccessKeyID
  • SecretAccessKey
  • SessionToken (required for requests)
  • Expiration (the date when credentials expire)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the credentials generated by AWS STS used for?

A

To temporarily access AWS resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Do AWS STS credentials belong to the identity that uses them?

A

No, these credentials do not belong to the identity and have a configurable expiration period ranging from 15 minutes to a maximum of 12 hours

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Who can request credentials using AWS STS?

A

Any identity (AWS or external) that has permissions for sts:AssumeRole* and is defined as a principal in the role’s trust policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What permissions can an identity gain by generating credentials with AWS STS?

A

The permissions that are defined in the role’s permissions policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can an identity refresh the expired credentials provided by AWS STS?

A

By performing another sts:AssumeRole* operation to generate new credentials

How well did you know this?
1
Not at all
2
3
4
5
Perfectly