- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for CreateKey (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/kms/kes.go
} return keyInfos, continueAt, nil } // CreateKey tries to create a new key at the KMS with the // given key ID. // // If the a key with the same keyID already exists then // CreateKey returns kes.ErrKeyExists. func (c *kesConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error { if err := c.client.CreateKey(ctx, req.Name); err != nil { if errors.Is(err, kes.ErrKeyExists) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 7.3K bytes - Click Count (0) -
internal/kms/stub.go
matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy}) } } return matches, "", nil } // CreateKey creates a new key with the given name. func (s *StubKMS) CreateKey(_ context.Context, req *CreateKeyRequest) error { if s.containsKeyName(req.Name) { return ErrKeyExists } s.KeyNames = append(s.KeyNames, req.Name) return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 3.6K bytes - Click Count (0) -
internal/kms/conn.go
APIs(context.Context) ([]madmin.KMSAPI, error) // Stat returns the current KMS status. Status(context.Context) (map[string]madmin.ItemState, error) // CreateKey creates a new key at the KMS with the given key ID. CreateKey(context.Context, *CreateKeyRequest) error ListKeys(context.Context, *ListRequest) ([]madmin.KMSKeyInfo, string, error) // GenerateKey generates a new data encryption key using the
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 5K bytes - Click Count (0)