|
|
|
|
|
by jbert
4460 days ago
|
|
So - there has to be some trust to the client, unless the resource is public (or locked down with end-user creds). In this case, some kind of creds need to go into the app, right? So the best practise is simply to make those some creds which:
1) have limited privileges (e.g. just access one S3 bucket)
and
2) can be centrally revoked (requiring app update for everyone?) I've read the link on the amazon Token Vending Machine approach, but I still don't understand why that is better. If I have the embedded creds to get a token from the TVM, and that token allows me to access an S3 bucket, how is that more secure from using limited IAM creds which just allow direct access to the bucket? In both cases: - the creds can be revoked centrally - possession of the embedded creds allows access to the S3 bucket (either directly, or by fetching a token first) |
|