Security Flashcards

1
Q

Security patterns

A

Access Token

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

Access token: context

A

You have applied the Microservice architecture and API Gateway patterns. The application consists of numerous services. The API gateway is the single entry point for client requests. It authenticates requests, and forwards them to other services, which might in turn invoke other services.

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

Access token: problem

A

How to communicate the identity of the requestor to the services that handle the request?

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

Access token: forces

A

Services often need to verify that a user is authorized to perform an operation

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

Access token: solution

A

The API Gateway authenticates the request and passes an access token (e.g. JSON Web Token) that securely identifies the requestor in each request to the services. A service can include the access token in requests it makes to other services.

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

Access token: example

A

See JSON Web Token for usage examples and supporting libraries.

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

Access token: result

A
  • The identity of the requestor is securely passed around the system
  • Services can verify that the requestor is authorized to perform an operation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Access token: related

A

The API Gateway uses this pattern.

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