Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for secret (0.67 sec)

  1. internal/crypto/error.go

    	ErrInvalidCustomerKey = Errorf("The SSE-C client key is invalid")
    
    	// ErrSecretKeyMismatch indicates that the provided secret key (SSE-C client key / SSE-S3 KMS key)
    	// does not match the secret key used during encrypting the object.
    	ErrSecretKeyMismatch = Errorf("The secret key does not match the secret key used during upload")
    
    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    		if cred.ParentUser != globalActiveCred.AccessKey || cred.IsTemp() {
    			secret = nsecret
    		}
    	}
    	if cred.IsServiceAccount() {
    		token = cred.SessionToken
    		secret = cred.SecretKey
    	}
    
    	if token != "" {
    		claims, err := getClaimsFromTokenWithSecret(token, secret)
    		if err != nil {
    			return nil, toAPIErrorCode(r.Context(), err)
    		}
    		return claims, ErrNone
    	}
    
    	claims := xjwt.NewMapClaims()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  3. docs/debugging/s3-check-md5/main.go

    func main() {
    	flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL")
    	flag.StringVar(&accessKey, "access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
    	flag.StringVar(&secretKey, "secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key")
    	flag.StringVar(&bucket, "bucket", "", "Select a specific bucket")
    	flag.StringVar(&prefix, "prefix", "", "Select a prefix")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. docs/extensions/s3zip/examples/minio-go/main.go

    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    
    	// Download API.md from the archive
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  5. docs/debugging/s3-verify/main.go

    	flag.StringVar(&sourceBucket, "source-bucket", "", "Select a specific bucket")
    	flag.StringVar(&sourcePrefix, "source-prefix", "", "Select a prefix")
    
    	flag.StringVar(&targetEndpoint, "target-endpoint", "https://play.min.io", "S3 endpoint URL")
    	flag.StringVar(&targetAccessKey, "target-access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  6. internal/config/identity/openid/provider/keycloak.go

    func (k *KeycloakProvider) LoginWithClientID(clientID, clientSecret string) error {
    	values := url.Values{}
    	values.Set("client_id", clientID)
    	values.Set("client_secret", clientSecret)
    	values.Set("grant_type", "client_credentials")
    
    	req, err := http.NewRequest(http.MethodPost, k.oeConfig.TokenEndpoint, strings.NewReader(values.Encode()))
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  7. internal/auth/credentials_test.go

    	}
    	if len(cred.SecretKey) != secretKeyMaxLen {
    		t.Fatalf("secret key length: expected: %v, got: %v", secretKeyMaxLen, len(cred.SecretKey))
    	}
    }
    
    func TestCreateCredentials(t *testing.T) {
    	testCases := []struct {
    		accessKey   string
    		secretKey   string
    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	defer cancel()
    
    	configCmds := []string{
    		"identity_openid",
    		fmt.Sprintf("config_url=%s/.well-known/openid-configuration", serverAddr),
    		"client_id=minio-client-app",
    		"client_secret=minio-client-app-secret",
    		"scopes=openid,groups",
    		"redirect_uri=http://127.0.0.1:10000/oauth_callback",
    	}
    	if rolePolicy != "" {
    		configCmds = append(configCmds, fmt.Sprintf("role_policy=%s", rolePolicy))
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. cmd/bootstrap-peer-server.go

    	"MINIO_OPTS":          {},
    	"MINIO_CERT_PASSWD":   {},
    	"MINIO_SERVER_DEBUG":  {},
    	"MINIO_DSYNC_TRACE":   {},
    	"MINIO_ROOT_USER":     {},
    	"MINIO_ROOT_PASSWORD": {},
    	"MINIO_ACCESS_KEY":    {},
    	"MINIO_SECRET_KEY":    {},
    }
    
    func getServerSystemCfg() *ServerSystemConfig {
    	envs := env.List("MINIO_")
    	envValues := make(map[string]string, len(envs))
    	for _, envK := range envs {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		Code:           "InvalidArgument",
    		Description:    "The secret key was invalid for the specified algorithm.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingSSECustomerKey: {
    		Code:           "InvalidArgument",
    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must provide an appropriate secret key.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top