Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PubSub Subscriber requires pubsub.subscriptions.get permission #2358

Copy link
Copy link

Description

@trebon
Issue body actions

The current IAM role for Subscriber only gives the following permissions:

  • pubsub.subscriptions.consume
  • pubsub.topics.attachSubscription

This library uses pubsub.subscriptions.get when constructing the subscriber. This causes a permission denied exception to be thrown.

It is not documented anywhere that the Java client library requires this permission. My assumption as a user is that the IAM role for subscriber gives me all the required permissions to subscribe. For Java Publisher, the publisher role has all the needed permissions using the IAM publisher role. For Python Subscriber, Subscriber IAM role has sufficient permissions.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.