Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for kms (0.05 sec)

  1. docs/site-replication/run-sse-kms-object-replication.sh

    # sleep for replication to complete
    sleep 30
    
    # Create bucket in source cluster
    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    # Enable SSE KMS for the bucket
    ./mc encrypt set sse-kms minio-default-key minio1/test-bucket --insecure
    
    # Load objects to source site
    echo "Loading objects to source MinIO instance"
    ./mc cp /tmp/data/encrypted minio1/test-bucket --insecure
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/workers"
    )
    
    // keyrotate:
    //   apiVersion: v1
    //   bucket: BUCKET
    //   prefix: PREFIX
    //   encryption:
    //     type: sse-s3 # valid values are sse-s3 and sse-kms
    //     key: <new-kms-key> # valid only for sse-kms
    //     context: <new-kms-key-context> # valid only for sse-kms
    // # optional flags based filtering criteria
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	errKMSNotConfigured               = errors.New("KMS not configured for a server side encrypted objects")
    	errKMSKeyNotFound                 = errors.New("Unknown KMS key ID")
    	errKMSDefaultKeyAlreadyConfigured = errors.New("A default encryption already exists on KMS")
    	// Additional MinIO errors for SSE-C requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  4. cmd/common-main.go

    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    
    	if _, err = KMS.GenerateKey(GlobalContext, &kms.GenerateKeyRequest{}); errors.Is(err, kms.ErrKeyNotFound) {
    		err = KMS.CreateKey(GlobalContext, &kms.CreateKeyRequest{Name: KMS.DefaultKey})
    	}
    	if err != nil && !errors.Is(err, kms.ErrKeyExists) && !errors.Is(err, kms.ErrPermission) {
    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    	GlobalKMS = KMS
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. cmd/config-current.go

    	}
    	if err != nil {
    		logger.Fatal(err, "Unable to generate root access key using KMS")
    	}
    
    	sKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root secret key")})
    	if err != nil {
    		// Here, we must have permission. Otherwise, we would have failed earlier.
    		logger.Fatal(err, "Unable to generate root secret key using KMS")
    	}
    
    	accessKey, err := auth.GenerateAccessKey(20, bytes.NewReader(aKey))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    	encBytes, metaBytes, err := encryptBucketMetadata(ctx, b.Name, b.BucketTargetsConfigJSON, kms.Context{b.Name: b.Name, bucketTargetsFile: bucketTargetsFile})
    	if err != nil {
    		return err
    	}
    
    	b.BucketTargetsConfigJSON = encBytes
    	b.BucketTargetsConfigMetaJSON = metaBytes
    	return b.Save(ctx, objectAPI)
    }
    
    // encrypt bucket metadata if kms is configured.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. cmd/globals.go

    	globalDNSConfig dns.Store
    
    	// GlobalKMS initialized KMS configuration
    	GlobalKMS *kms.KMS
    
    	// Common lock for various subsystems performing the leader tasks
    	globalLeaderLock *sharedLock
    
    	// Auto-Encryption, if enabled, turns any non-SSE-C request
    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. cmd/tier.go

    }
    
    // configReader returns a PutObjReader and ObjectOptions needed to save config
    // using a PutObject API. PutObjReader encrypts json encoded tier configurations
    // if KMS is enabled, otherwise simply yields the json encoded bytes as is.
    // Similarly, ObjectOptions value depends on KMS' status.
    func (config *TierConfigMgr) configReader(ctx context.Context) (*PutObjReader, *ObjectOptions, error) {
    	b, err := config.Bytes()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. docs/distributed/samples/myminio-iam-info-openid.zip

    iam-assets/policies.json {"consoleAdmin":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["admin:*"]},{"Effect":"Allow","Action":["kms:*"]},{"Effect":"Allow","Action":["s3:*"],"Resource":["arn:aws:s3:::*"]}]},diagnostics":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["admin:TopLocksInfo","admin:BandwidthMonitor","admin:ConsoleLog","admin:OBDInfo","admin:Profiling","admin:Prometheus","admin:ServerInfo","admin:ServerTrace"],"Resource":["arn:aws:s3:::*"]}]},rea...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    }
    
    // fetchKMSStatus fetches KMS-related status information for all instances
    func fetchKMSStatus(ctx context.Context) []madmin.KMS {
    	if GlobalKMS == nil {
    		return []madmin.KMS{}
    	}
    
    	stat, err := GlobalKMS.Status(ctx)
    	if err != nil {
    		kmsLogIf(ctx, err, "failed to fetch KMS status information")
    		return []madmin.KMS{}
    	}
    
    	stats := make([]madmin.KMS, 0, len(stat.Endpoints))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top