Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Barnes (0.47 sec)

  1. internal/bucket/replication/destination.go

    	if !d.IsValid() {
    		return Errorf("invalid destination")
    	}
    
    	if !wildcard.Match(d.Bucket, bucketName) {
    		return Errorf("bucket name does not match")
    	}
    	return nil
    }
    
    // parseDestination - parses string to Destination.
    func parseDestination(s string) (Destination, error) {
    	if !strings.HasPrefix(s, DestinationARNPrefix) && !strings.HasPrefix(s, DestinationARNMinIOPrefix) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  2. internal/jwt/parser.go

    	// other fields such as expiry etc.
    	return claims.Valid()
    }
    
    // ParseUnverifiedStandardClaims - WARNING: Don't use this method unless you know what you're doing
    //
    // This method parses the token but doesn't validate the signature. It's only
    // ever useful in cases where you know the signature is valid (because it has
    // been checked previously in the stack) and you want to extract values from
    // it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  3. cmd/update.go

    	updateTimeout     = 10 * time.Second
    )
    
    // For windows our files have .exe additionally.
    var minioReleaseWindowsInfoURL = MinioReleaseURL + "minio.exe.sha256sum"
    
    // minioVersionToReleaseTime - parses a standard official release
    // MinIO version string.
    //
    // An official binary's version string is the release time formatted
    // with RFC3339 (in UTC) - e.g. `2017-09-29T19:16:56Z`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. internal/event/name.go

    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	eventName, err := ParseName(s)
    	if err != nil {
    		return err
    	}
    
    	*name = eventName
    	return nil
    }
    
    // ParseName - parses string to Name.
    func ParseName(s string) (Name, error) {
    	switch s {
    	case "s3:BucketCreated:*":
    		return BucketCreated, nil
    	case "s3:BucketRemoved:*":
    		return BucketRemoved, nil
    	case "s3:ObjectAccessed:*":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    			return err
    		}
    		for k, v := range uclaims {
    			if _, ok := claims[k]; !ok { // only add to claims not update it.
    				claims[k] = v
    			}
    		}
    	}
    	return nil
    }
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example https://accounts.google.com/.well-known/openid-configuration
    type DiscoveryDoc struct {
    	Issuer                           string   `json:"issuer,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  6. docs/sts/web-identity.md

    By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, the optional DurationSeconds parameter can be used to specify the validity duration of the generated credentials. This value varies from 900 seconds (15 minutes) up to the maximum session duration of 365 days.
    
    ## Configuring OpenID Identity Provider on MinIO
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  7. cmd/iam.go

    		}
    		sys.rolesMap[arn] = rolePolicies
    	}
    }
    
    // Prints IAM role ARNs.
    func (sys *IAMSys) printIAMRoles() {
    	if len(sys.rolesMap) == 0 {
    		return
    	}
    	var arns []string
    	for arn := range sys.rolesMap {
    		arns = append(arns, arn.String())
    	}
    	sort.Strings(arns)
    	msgs := make([]string, 0, len(arns))
    	for _, arn := range arns {
    		msgs = append(msgs, color.Bold(arn))
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/signature-v4-parser.go

    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    	Date    time.Time
    	Expires time.Duration
    }
    
    // Parses signature version '4' query string of the following form.
    //
    //	querystring = X-Amz-Algorithm=algorithm
    //	querystring += &X-Amz-Credential= urlencode(accessKey + '/' + credential_scope)
    //	querystring += &X-Amz-Date=date
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. internal/kms/single-key.go

    	"github.com/secure-io/sio-go/sioutil"
    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // Parse parses s as single-key KMS. The given string
    // is expected to have the following format:
    //
    //	<key-id>:<base64-key>
    //
    // The returned KMS implementation uses the parsed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/sts/web-identity.go

    }
    
    var (
    	stsEndpoint    string
    	configEndpoint string
    	clientID       string
    	clientSec      string
    	clientScopes   string
    	port           int
    )
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example http://localhost:8080/auth/realms/minio/.well-known/openid-configuration
    type DiscoveryDoc struct {
    	Issuer                           string   `json:"issuer,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
Back to top