Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for STSErrorCode (0.17 sec)

  1. cmd/sts-errors.go

    	} `xml:"Error"`
    	RequestID string `xml:"RequestId"`
    }
    
    // STSErrorCode type of error status.
    type STSErrorCode int
    
    //go:generate stringer -type=STSErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html
    const (
    	ErrSTSNone STSErrorCode = iota
    	ErrSTSAccessDenied
    	ErrSTSMissingParameter
    	ErrSTSInvalidParameterValue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    		Queries(stsAction, customTokenIdentity).
    		Queries(stsVersion, stsAPIVersion)
    }
    
    func apiToSTSError(authErr APIErrorCode) (stsErrCode STSErrorCode) {
    	switch authErr {
    	case ErrSignatureDoesNotMatch, ErrInvalidAccessKeyID, ErrAccessKeyDisabled:
    		return ErrSTSAccessDenied
    	case ErrServerNotInitialized:
    		return ErrSTSNotInitialized
    	case ErrInternalError:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top