Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for Kms (0.11 sec)

  1. internal/crypto/metadata_test.go

    	}, // 2
    	{
    		ExpectedErr: Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3"),
    		Metadata:    map[string]string{MetaIV: "", MetaAlgorithm: "", MetaSealedKeyS3: "", MetaDataEncryptionKey: "IAAF0b=="}, DataKey: []byte{}, KeyID: "", SealedKey: SealedKey{},
    	}, // 3
    	{
    		ExpectedErr: Errorf("The object metadata is missing the internal sealed KMS data key for SSE-S3"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Description:    "Server side encryption specified but KMS is not configured",
    		HTTPStatusCode: http.StatusNotImplemented,
    	},
    	ErrKMSKeyNotFoundException: {
    		Code:           "KMS.NotFoundException",
    		Description:    "Invalid keyId",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKMSDefaultKeyAlreadyConfigured: {
    		Code:           "KMS.DefaultKeyAlreadyConfiguredException",
    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)
  3. internal/config/crypto_test.go

    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/kms"
    )
    
    var encryptDecryptTests = []struct {
    	Data    []byte
    	Context kms.Context
    }{
    	{
    		Data:    nil,
    		Context: nil,
    	},
    	{
    		Data:    []byte{1},
    		Context: nil,
    	},
    	{
    		Data:    []byte{1},
    		Context: kms.Context{"key": "value"},
    	},
    	{
    		Data:    make([]byte, 1<<20),
    		Context: kms.Context{"key": "value", "a": "b"},
    	},
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    	"github.com/klauspost/compress/zip"
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/tags"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. cmd/bucket-encryption_test.go

    		},
    		// Unsupported XML
    		{
    			inputXML: `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    			<Rule>
    			<ApplyServerSideEncryptionByDefault>
                            <SSEAlgorithm>aws:kms</SSEAlgorithm>
                            <KMSMasterKeyID>my-key</KMSMasterKeyID>
    			</ApplyServerSideEncryptionByDefault>
    			</Rule>
    			</ServerSideEncryptionConfiguration>`,
    			expectedErr: nil,
    			shouldPass:  true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 14 07:59:05 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  6. internal/kms/config.go

    package kms
    
    // Top level config constants for KMS
    const (
    	EnvKMSSecretKey        = "MINIO_KMS_SECRET_KEY"
    	EnvKMSSecretKeyFile    = "MINIO_KMS_SECRET_KEY_FILE"
    	EnvKESEndpoint         = "MINIO_KMS_KES_ENDPOINT"       // One or multiple KES endpoints, separated by ','
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. internal/kms/kes.go

    package kms
    
    import (
    	"bytes"
    	"context"
    	"crypto/subtle"
    	"crypto/tls"
    	"crypto/x509"
    	"errors"
    	"fmt"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v2/env"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/pkg/v2/certs"
    )
    
    const (
    	tlsClientSessionCacheSize = 100
    )
    
    // Config contains various KMS-related configuration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. cmd/bucket-targets.go

    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/kms"
    )
    
    const (
    	defaultHealthCheckDuration = 5 * time.Second
    	// default interval for reload of all remote target endpoints
    	defaultHealthCheckReloadDuration = 30 * time.Minute
    )
    
    type arnTarget struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. internal/crypto/sse.go

    	// is not optimal. See: https://github.com/minio/minio/pull/6121
    	InsecureSealAlgorithm = "DARE-SHA256"
    )
    
    // Type represents an AWS SSE type:
    //   - SSE-C
    //   - SSE-S3
    //   - SSE-KMS
    type Type interface {
    	fmt.Stringer
    
    	IsRequested(http.Header) bool
    	IsEncrypted(map[string]string) bool
    }
    
    // IsRequested returns true and the SSE Type if the HTTP headers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  10. internal/kms/status-manager.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // StatusManager is the generic interface that handles KMS status operations
    type StatusManager interface {
    	// Version retrieves version information
    	Version(ctx context.Context) (string, error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top