Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecretsManager: Add some error messages for BatchGetSecretValue #7592

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

connor9
Copy link

@connor9 connor9 commented Apr 12, 2024

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': ...
}

… for secrets that aren't found or those that are marked as deleted.
@cloudlena
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants