Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for KMS (0.01 sec)

  1. internal/kms/secret-key_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"bytes"
    	"encoding/base64"
    	"testing"
    )
    
    func TestSingleKeyRoundtrip(t *testing.T) {
    	KMS, err := ParseSecretKey("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=")
    	if err != nil {
    		t.Fatalf("Failed to initialize KMS: %v", err)
    	}
    
    	key, err := KMS.GenerateKey(t.Context(), &GenerateKeyRequest{Name: "my-key"})
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. internal/kms/secret-key.go

    )
    
    // ParseSecretKey parses s as <key-id>:<base64> and returns a
    // KMS that uses s as builtin single key as KMS implementation.
    func ParseSecretKey(s string) (*KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    		return nil, errors.New("kms: invalid secret key format")
    	}
    
    	keyID, b64Key := v[0], v[1]
    	key, err := base64.StdEncoding.DecodeString(b64Key)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:23:51 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. docs/iam/policies/pbac-tests.sh

    mc admin policy create myminio/ deny-non-sse-kms-pol ./docs/iam/policies/deny-non-sse-kms-objects.json
    mc admin policy create myminio/ deny-invalid-sse-kms-pol ./docs/iam/policies/deny-objects-with-invalid-sse-kms-key-id.json
    
    mc admin policy attach myminio deny-non-sse-kms-pol --user minio123
    mc admin policy attach myminio deny-invalid-sse-kms-pol --user minio123
    mc admin policy attach myminio consoleAdmin --user minio123
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. internal/kms/config.go

    	switch {
    	case kmsPresent && kesPresent:
    		return false, errors.New("kms: configuration for MinIO KMS and MinIO KES is present")
    	case kmsPresent && staticKeyPresent:
    		return false, errors.New("kms: configuration for MinIO KMS and static KMS key is present")
    	case kesPresent && staticKeyPresent:
    		return false, errors.New("kms: configuration for MinIO KES and static KMS key is present")
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. docs/kms/README.md

    | [AWS-KMS + SecretsManager](https://github.com/minio/kes/wiki/AWS-SecretsManager)             | Cloud KMS. MinIO in combination with a managed KMS installation   |
    | [Gemalto KeySecure /Thales CipherTrust](https://github.com/minio/kes/wiki/Gemalto-KeySecure) | Local KMS. MinIO and KMS On-Premises.                             |
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. docs/site-replication/README.md

    - All sites must be using the **same** external IDP(s) if any.
    - For [SSE-S3 or SSE-KMS encryption via KMS](https://docs.min.io/community/minio-object-store/operations/server-side-encryption.html "MinIO KMS Guide"), all sites **must**  have access to a central KMS deployment. This can be achieved via a central KES server or multiple KES servers (say one per site) connected via a central KMS (Vault) server.
    
    ## Configuring Site Replication
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. docs/kms/IAM.md

    # KMS IAM/Config Encryption
    
    MinIO supports encrypting config, IAM assets with KMS provided keys. If the KMS is not enabled, MinIO will store the config, IAM data as plain text erasure coded in its backend.
    
    ## MinIO KMS Quick Start
    
    MinIO supports two ways of encrypting IAM and configuration data.
    You can either use KES - together with an external KMS - or, much simpler,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. 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"},
    	},
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. internal/kms/kes.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"
    	"errors"
    	"net/http"
    	"sync"
    	"time"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    )
    
    type kesConn struct {
    	defaultKeyID string
    	client       *kes.Client
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. cmd/testdata/decryptObjectInfo.json.zst

    [{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/script/mod_init_dep.txt","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"7oyUrB+n4Xb57xJsT/c+d3vF5fW5pWtPEyxNC/oTP80=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAJjZ2dY7iCAom9rP/UK/5mmg/gpSloOs8Xjy5gYKtTDfL==","X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key":"IAAfAN+0R4CsC3ibYvamkvm9KIg+hidIQ==","X-Minio-Internal-Server-Side-Encryption-Seal-Algori...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 29 16:34:20 UTC 2020
    - 164K bytes
    - Viewed (0)
Back to top