moto icon indicating copy to clipboard operation
moto copied to clipboard

SecretsManager: Add some error messages for BatchGetSecretValue

Open connor9 opened this issue 1 year ago • 1 comments

For the batch_get_secret_value call, adds error reporting for secrets that aren't found or those that are marked as deleted. These will be included in the format returned from the AWS call:

{
  'SecretValues': [],
  'Errors': [
    {
      'SecretId': 'secret-id-arn',
      'ErrorCode': 'ResourceNotFoundException',
      'Message': "Secrets Manager can't find the specified secret."
    }
  ],
  'ResponseMetadata': ...
}

connor9 avatar Apr 12 '24 13:04 connor9

I'd love to see this! What's the current state, @connor9? Can I somehow support?

cloudlena avatar Jul 02 '24 10:07 cloudlena