Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Barnes (0.17 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  2. internal/config/identity/openid/provider/keycloak.go

    package provider
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    	"net/url"
    	"path"
    	"strings"
    	"sync"
    )
    
    // Token - parses the output from IDP id_token.
    type Token struct {
    	AccessToken string `json:"access_token"`
    	Expiry      int    `json:"expires_in"`
    }
    
    // KeycloakProvider implements Provider interface for KeyCloak Identity Provider.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  3. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 08 17:45:03 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  7. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 19:09:19 GMT 2024
    - 69.9K bytes
    - Viewed (1)
  9. internal/arn/arn.go

    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    	arnServiceIAM       = "iam"
    	arnResourceTypeRole = "role"
    )
    
    // ARN - representation of resources based on AWS ARNs.
    type ARN struct {
    	Partition    string
    	Service      string
    	Region       string
    	ResourceType string
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. cmd/bucket-encryption.go

    func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) {
    	sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
    	return sseCfg, err
    }
    
    // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO.
    func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) {
    	encConfig, err := sse.ParseBucketSSEConfig(r)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.7K bytes
    - Viewed (0)
Back to top