-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38bc756
commit 7e15c4b
Showing
1 changed file
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,32 @@ | ||
# AWS Roles Anywhere | ||
|
||
Some notes on authenticating to AWS using X.509 certificates through the | ||
AWS Roles Anywhere API. | ||
|
||
## Useful Resources | ||
|
||
- https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html | ||
- https://docs.aws.amazon.com/rolesanywhere/latest/userguide/trust-model.html | ||
- https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-sign-process.html | ||
|
||
## Constraints | ||
## Important Constraints | ||
|
||
### Certificates | ||
|
||
End entity certificates must satisfy the following constraints to be used for authentication: | ||
- The certificates MUST be X.509v3. | ||
- Basic constraints MUST include CA: false. | ||
- The key usage MUST include Digital Signature. | ||
- The signing algorithm MUST include SHA256 or stronger. MD5 and SHA1 signing algorithms are rejected. | ||
> End entity certificates must satisfy the following constraints to be used for authentication: | ||
> | ||
> - The certificates MUST be X.509v3. | ||
> - Basic constraints MUST include CA: false. | ||
> - The key usage MUST include Digital Signature. | ||
> - The signing algorithm MUST include SHA256 or stronger. MD5 and SHA1 signing algorithms are rejected. | ||
### Keys | ||
|
||
> RSA and EC keys are supported; RSA keys are used with the RSA PKCS# v1.5 signing algorithm. EC keys are used with the ECDSA. | ||
This seems like a relatively small problem. The SPIFFE spec does not make | ||
comment on permissible key types, and therefore, an implementation of SPIFFE | ||
could choose to use something other than EC or RSA. However, most | ||
implementations of SPIFFE today (e.g SPIRE, Teleport Workload Identity) use | ||
either EC or RSA as the default and indeed only support EC or RSA. | ||
|