Table of Contents

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

innerException Exception

EncryptionFailureException(string)

Constructs a new EncryptionFailureException with the specified error message.

public EncryptionFailureException(string message)

Parameters

message string

Describes 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

message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

EncryptionFailureException(string, Exception)

Construct instance of EncryptionFailureException

public EncryptionFailureException(string message, Exception innerException)

Parameters

message string
innerException Exception

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

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode