Skip to content

How to acces Asset Metadata in code? #4411

Answered by paullatzelsperger
3rim asked this question in Q&A
Discussion options

You must be logged in to vote

In the Kafka example, the consumer ("alice") uses a client secret rather than a short-lived token. However, if "alice" were to use a token instead, then Kafka would be responsible for its renewal (IDK if Kafka offers that, TBH).
The key aspect is that it is always the data plane that is responsible for authentication, and in the sample, Kafka is the dataplane.v

However, in the scenario you describe, you seem to have token rotation implemented manually, so you will need to implement a custom data plane, even if that delegates down to another message broker system.

TL;DR: yes, you should follow my advice.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@3rim
Comment options

@paullatzelsperger
Comment options

@3rim
Comment options

@paullatzelsperger
Comment options

Answer selected by 3rim
@3rim
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants