Closed
Description
Question: We are building integrations with several AWS services using this SDK. Certain SDK features require very specific permissions to be present in order to function (for example: Kinesis stream subscription, which requires Kinesis and DynamoDB permissions https://docs.aws.amazon.com/streams/latest/dev/kcl-migration.html).
We would like to proactively check if a user has the needed permissions when they provide us their credentials (to avoid having our users hit a runtime error if they are missing a permission). Does the SDK support a way to do check if a permission is present without requiring the user to add explicit IAM permissions? Even a check like client.userHasPermission( "kinesis:GetRecords")
would be enough.
Your Environment
- AWS Java SDK version used: Latest
- JDK version used: 8
- Operating System and version: macOS
Metadata
Metadata
Assignees
Labels
No labels