What are Your Recommendations for Handling Short-Lived Access Tokens in M2M Authentication?

I apologize for the confusion earlier. Here’s the updated code using the correct prop definition for the data store: export default defineComponent({ props: { db: { type: "data_store" }, }, async run({ steps, $ }) { // Set a value in the data store await this.db.set("my_key", "my_value"); // Get the value from the data store const value = await this.db.get("my_key"); console.log(value); // Output: my_value }, }); In this example, the db prop is defined as a data store, and you can use this.db.set and this.db.get to store and retrieve data within your workflow.

  • just to close this out, I couldn’t quite get it to work with the integration one, I think you do have it set up correctly for the mgmt api - I ended up using Redis for token storage and just did it in a node step :slightly_smiling_face:

I see thanks, glad that worked