Class EncryptionFailureException
- Namespace
- Amazon.SecretsManager.Model
- Assembly
- AWSSDK.SecretsManager.dll
Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the customer master key (CMK) is available, enabled, and not in an invalid state. For more information, see How Key State Affects Use of a Customer Master Key.
public class EncryptionFailureException : AmazonSecretsManagerException
- Inheritance
-
EncryptionFailureException
Constructors
EncryptionFailureException(Exception)
Construct instance of EncryptionFailureException
public EncryptionFailureException(Exception innerException)
Parameters
innerExceptionException
EncryptionFailureException(string)
Constructs a new EncryptionFailureException with the specified error message.
public EncryptionFailureException(string message)
Parameters
messagestringDescribes the error encountered.
EncryptionFailureException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of EncryptionFailureException
public EncryptionFailureException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
messagestringerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode
EncryptionFailureException(string, Exception)
Construct instance of EncryptionFailureException
public EncryptionFailureException(string message, Exception innerException)
Parameters
EncryptionFailureException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of EncryptionFailureException
public EncryptionFailureException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
messagestringinnerExceptionExceptionerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode