- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for errKeyGenerationFailed (0.18 sec)
-
internal/kms/errors.go
return Error{ Code: http.StatusInternalServerError, APICode: "kms:KeyListingFailed", Err: "failed to list keys at the KMS", Cause: err, } } func errKeyGenerationFailed(err error) Error { return Error{ Code: http.StatusInternalServerError, APICode: "kms:KeyGenerationFailed", Err: "failed to generate data key with KMS key", Cause: err, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 16 14:03:03 UTC 2024 - 3.6K bytes - Viewed (0) -
internal/kms/kes.go
if err != nil { if errors.Is(err, kes.ErrKeyNotFound) { return DEK{}, ErrKeyNotFound } if errors.Is(err, kes.ErrNotAllowed) { return DEK{}, ErrPermission } return DEK{}, errKeyGenerationFailed(err) } return DEK{ KeyID: name, Plaintext: dek.Plaintext, Ciphertext: dek.Ciphertext, }, nil } // ImportKey imports a cryptographic key into the KMS.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/kms/kms.go
}) if err != nil { if errors.Is(err, kms.ErrKeyNotFound) { return DEK{}, ErrKeyNotFound } if errors.Is(err, kms.ErrPermission) { return DEK{}, ErrPermission } return DEK{}, errKeyGenerationFailed(err) } return DEK{ KeyID: name, Version: resp.Version, Plaintext: resp.Plaintext, Ciphertext: resp.Ciphertext, }, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0)