Skip to content

Conversation

zeroecco
Copy link
Contributor

the api layer for authenticated queries

@zeroecco zeroecco marked this pull request as ready for review October 16, 2025 21:52
@github-actions github-actions bot changed the title Zeroecco/stuck jobs BM-1754: Zeroecco/stuck jobs Oct 16, 2025
@github-actions
Copy link

🚀 Documentation Preview

Deployment URL: https://boundless-documentation-ewy8i9uck-boundless-network.vercel.app

Updated at: 2025-10-21 21:23:10 UTC

Copy link
Contributor

@willpote willpote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whats the motivation for this? We can use SSM to ssh into machines using AWS for auth already can't we?

const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
let result = '';
for (let i = 0; i < 32; i++) {
result += chars.charAt(Math.floor(Math.random() * chars.length));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the best practice to use a pseudorandom number generator for keys. Can we just set the API key in Pulumi state and pass it in (as we do in our other stacks for secrets), or use something like crypto.getRandomValues

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.

2 participants