1
0
mirror of https://github.com/minio/minio.git synced 2025-03-25 15:04:14 -04:00

9 Commits

Author SHA1 Message Date
Harshavardhana
d759a7ce99
Fix time formatting of Expiration field in STS ()
Without explicit conversion to UTC() from Unix
time the zone information is lost, this leads
to XML marshallers marshaling the time into
a wrong format.

This PR fixes the compatibility issue with AWS STS
API by keeping Expiration format close to ISO8601
or RFC3339

Fixes 
2019-08-08 15:44:57 -07:00
kannappanr
5ecac91a55
Replace Minio refs in docs with MinIO and links () 2019-04-09 11:39:42 -07:00
Harshavardhana
c3ca954684 Implement AssumeRole API for Minio users ()
For actual API reference read here

https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html

Documentation is added and updated as well at docs/sts/assume-role.md

Fixes 
2019-02-27 17:46:55 -08:00
Chester Li
aa2d8583ad Check key length before adding a new user. ()
User's key should satisfy the requirement of `mc config host add`.
Check access key and secret key length before adding a new user,
avoid creating a useless user which cannot be added into config
host or log into the browser.
2018-11-09 15:48:24 -08:00
Aarushi Arya
89b14639a9 avoid using URL encoding to generate keys () 2018-10-31 15:07:20 -07:00
Harshavardhana
54ae364def Introduce STS client grants API and OPA policy integration ()
This PR introduces two new features

- AWS STS compatible STS API named AssumeRoleWithClientGrants

```
POST /?Action=AssumeRoleWithClientGrants&Token=<jwt>
```

This API endpoint returns temporary access credentials, access
tokens signature types supported by this API

  - RSA keys
  - ECDSA keys

Fetches the required public key from the JWKS endpoints, provides
them as rsa or ecdsa public keys.

- External policy engine support, in this case OPA policy engine

- Credentials are stored on disks
2018-10-09 14:00:01 -07:00
ebozduman
f16bfda2f2 Remove panic() and handle it appropriately ()
This is an effort to remove panic from the source. 
Add a new call called CriticialIf, that calls LogIf and exits. 
Replace panics with one of CriticalIf, FatalIf and a return of error.
2018-04-19 17:24:43 -07:00
A. Elleuch
da2faa19a1 Reduce Minio access key minimum length to 3 ()
This is a generic minimum value. The current reason is to support
Azure blob storage accounts name whose length is less than 5. 3 is the
minimum length for Azure.
2018-02-02 09:13:30 +05:30
Bala FA
32c6b62932 move credentials as separate package () 2017-10-31 11:54:32 -07:00