Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for DurationSeconds (0.2 sec)

  1. docs/sts/client-grants.md

    | :--        | :--      |
    | *Type*     | *String* |
    | *Required* | *Yes*    |
    
    ### DurationSeconds
    
    The duration, in seconds. The value can range from 900 seconds (15 minutes) up to 365 days. If value is higher than this setting, then operation fails. By default, the value is set to 3600 seconds. If no *DurationSeconds* is specified expiry seconds is obtained from *Token*.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  2. internal/config/identity/openid/jwt_test.go

    		},
    		{
    			reqURL:    "http://127.0.0.1:8443/?DurationSeconds=9s",
    			expectErr: true,
    		},
    		{
    			reqURL:    "http://127.0.0.1:8443/?DurationSeconds=31536001",
    			expectErr: true,
    		},
    		{
    			reqURL:    "http://127.0.0.1:8443/?DurationSeconds=800",
    			expectErr: true,
    		},
    		{
    			reqURL:   "http://127.0.0.1:8443/?DurationSeconds=901",
    			duration: time.Duration(901) * time.Second,
    		},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. docs/sts/custom-token-identity.md

    | RoleArn         | String  | Yes      | Must match the Role ARN generated for the identity plugin            |
    | DurationSeconds | Integer | No       | Duration of validity of generated credentials. Must be at least 900. |
    
    The validity duration of the generated STS credentials is the minimum of the `DurationSeconds` parameter (if passed) and the validity duration returned by the Identity Management Plugin.
    
    ## API Response
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3K bytes
    - Viewed (0)
  4. docs/sts/assume-role.md

    ## API Request Parameters
    
    ### Version
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  5. docs/sts/tls.md

    ```curl
    curl -X POST --key private.key --cert public.crt "https://minio:9000?Action=AssumeRoleWithCertificate&Version=2011-06-15&DurationSeconds=3600"
    ```
    
    ```xml
    <?xml version="1.0" encoding="UTF-8"?>
    <AssumeRoleWithCertificateResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
       <AssumeRoleWithCertificateResult>
          <Credentials>
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6K bytes
    - Viewed (0)
  6. docs/sts/web-identity.py

        response = sts_client.assume_role_with_web_identity(
            RoleArn='arn:aws:iam::123456789012:user/svc-internal-api',
            RoleSessionName='test',
            WebIdentityToken=id_token,
            DurationSeconds=3600
        )
    
        s3_resource = boto3.resource('s3',
                                     endpoint_url='http://localhost:9000',
                                     aws_access_key_id=response['Credentials']['AccessKeyId'],
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Viewed (1)
  7. cmd/bucket-policy.go

    	return &PolicySys{}
    }
    
    func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	m := make(map[string][]string)
    	if d := r.Form.Get("DurationSeconds"); d != "" {
    		m["DurationSeconds"] = []string{d}
    	}
    	return m
    }
    
    func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. docs/sts/web-identity.md

    | :--        | :--      |
    | *Type*     | *String* |
    | *Required* | *Yes*    |
    
    ### DurationSeconds
    
    The duration, in seconds. The value can range from 900 seconds (15 minutes) up to 365 days. If value is higher than this setting, then operation fails. By default, the value is set to 3600 seconds. If no *DurationSeconds* is specified expiry seconds is obtained from *WebIdentityToken*.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. docs/sts/client_grants/__init__.py

                creds = json.loads(response.data)
    
                query = {}
                query['Action'] = 'AssumeRoleWithClientGrants'
                query['Token'] = creds['access_token']
                query['DurationSeconds'] = creds['expires_in']
                query['Version'] = '2011-06-15'
    
                query_components = []
                for key in query:
                    if query[key] is not None:
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  10. docs/sts/assume-role.go

    			bs, err := io.ReadAll(f)
    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		stsOpts.Policy = policy
    	}
    	if expiryDuration != 0 {
    		stsOpts.DurationSeconds = int(expiryDuration.Seconds())
    	}
    	li, err := cr.NewSTSAssumeRole(stsEndpoint, stsOpts)
    	if err != nil {
    		log.Fatalf("Error initializing STS Identity: %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
Back to top