Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for kms (0.14 sec)

  1. internal/kms/kms.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"context"
    	"encoding"
    	"encoding/json"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/kms-go/kes"
    )
    
    // KMS is the generic interface that abstracts over
    // different KMS implementations.
    type KMS interface {
    	// Stat returns the current KMS status.
    	Stat(cxt context.Context) (Status, error)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/kms-handlers.go

    import (
    	"crypto/subtle"
    	"encoding/json"
    	"io"
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // KMSStatusHandler - GET /minio/kms/v1/status
    func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/kms-router.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	kmsPathPrefix       = minioReservedBucketPath + "/kms"
    	kmsAPIVersion       = "v1"
    	kmsAPIVersionPrefix = SlashSeparator + kmsAPIVersion
    )
    
    type kmsAPIHandlers struct{}
    
    // registerKMSRouter - Registers KMS APIs
    func registerKMSRouter(router *mux.Router) {
    	kmsAPI := kmsAPIHandlers{}
    	kmsRouter := router.PathPrefix(kmsPathPrefix).Subrouter()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. internal/crypto/sse-kms.go

    // on success. If the metadata contains both, a KMS master key ID and a sealed
    // KMS data key it returns both. If the metadata does not contain neither a
    // KMS master key ID nor a sealed KMS data key it returns an empty keyID and
    // KMS data key. Otherwise, it returns an error.
    func (ssekms) ParseMetadata(metadata map[string]string) (keyID string, kmsKey []byte, sealedKey SealedKey, ctx kms.Context, err error) {
    	// Extract all required values from object metadata
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. docs/site-replication/run-sse-kms-object-replication.sh

    # Start MinIO instances
    echo -n "Starting MinIO instances ..."
    CI=on MINIO_KMS_SECRET_KEY=minio-default-key:IyqsU3kMFloCNup4BsZtf/rmfHVcTgznO2F25CkEH1g= MINIO_ROOT_USER=minio MINIO_ROOT_PASSWORD=minio123 minio server --certs-dir /tmp/certs --address ":9001" --console-address ":10000" /tmp/minio1/{1...4}/disk{1...4} /tmp/minio1/{5...8}/disk{1...4} >/tmp/minio1_1.log 2>&1 &
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. 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.                             |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. internal/kms/single-key_test.go

    package kms
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"testing"
    )
    
    func TestSingleKeyRoundtrip(t *testing.T) {
    	KMS, err := Parse("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=")
    	if err != nil {
    		t.Fatalf("Failed to initialize KMS: %v", err)
    	}
    
    	key, err := KMS.GenerateKey(context.Background(), "my-key", Context{})
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 19 01:54:27 GMT 2022
    - 3K bytes
    - Viewed (0)
  8. internal/kms/key-manager.go

    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // KeyManager is the generic interface that handles KMS key operations
    type KeyManager interface {
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(ctx context.Context, keyID string) error
    
    	// DeleteKey deletes a key at the KMS with the given key ID.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config.go

    	"github.com/minio/minio/internal/crypto"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const (
    	// AES256 is used with SSE-S3
    	AES256 Algorithm = "AES256"
    	// AWSKms is used with SSE-KMS
    	AWSKms Algorithm = "aws:kms"
    )
    
    // Algorithm - represents valid SSE algorithms supported; currently only AES256 is supported
    type Algorithm string
    
    // UnmarshalXML - Unmarshals XML tag to valid SSE algorithm
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  10. internal/kms/policy-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"
    )
    
    // PolicyManager is the generic interface that handles KMS policy] operations
    type PolicyManager interface {
    	// DescribePolicy describes a policy by returning its metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
Back to top