Skip to content

Add US_DYNAMIC_MASTER_TOKEN_PRIVATE_KEY#399

Closed
sjorobekov wants to merge 3 commits intomainfrom
DLAPI-467_dynamic_master_token
Closed

Add US_DYNAMIC_MASTER_TOKEN_PRIVATE_KEY#399
sjorobekov wants to merge 3 commits intomainfrom
DLAPI-467_dynamic_master_token

Conversation

@sjorobekov
Copy link

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

E2E Report is ready.

@sjorobekov sjorobekov marked this pull request as ready for review January 13, 2026 11:19
TEMPORAL_AUTH_PRIVATE_KEY=$(openssl genpkey -algorithm RSA -pkeyopt "rsa_keygen_bits:4096" 2>/dev/null)
TEMPORAL_AUTH_PUBLIC_KEY=$(echo "${TEMPORAL_AUTH_PRIVATE_KEY}" | openssl rsa -pubout 2>/dev/null)
US_DYNAMIC_MASTER_TOKEN_PRIVATE_KEY=$(openssl genpkey -algorithm RSA -pkeyopt "rsa_keygen_bits:4096" 2>/dev/null)
UI_MASTER_TOKEN_PUBLIC_KEY_PRIMARY=$(echo "${TEMPORAL_AUTH_PRIVATE_KEY}" | openssl rsa -pubout 2>/dev/null)

Choose a reason for hiding this comment

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

Suggested change
UI_MASTER_TOKEN_PUBLIC_KEY_PRIMARY=$(echo "${TEMPORAL_AUTH_PRIVATE_KEY}" | openssl rsa -pubout 2>/dev/null)
UI_MASTER_TOKEN_PUBLIC_KEY_PRIMARY=$(echo "${US_DYNAMIC_MASTER_TOKEN_PRIVATE_KEY}" | openssl rsa -pubout 2>/dev/null)

Copy link

@khamitovdr khamitovdr left a comment

Choose a reason for hiding this comment

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

It seems we should generate US_DYNAMIC_MASTER_TOKEN_PRIVATE_KEY here too

gen_sec US_MASTER_TOKEN 32

Copy link

@khamitovdr khamitovdr left a comment

Choose a reason for hiding this comment

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

May be consider pattern <service_alias>_DYNAMIC_US_AUTH_<PRIVATE/PUBLIC>_KEY(?_SECONDARY)?

Now the problem is that US_DYNAMIC_MASTER_TOKEN_PRIVATE_KEY already exists, but this is the key related to UI. There are no good name to choose for BI public key.

Moreover it is tricky to understand that UI_MASTER_TOKEN_PUBLIC_KEY_PRIMARY and US_DYNAMIC_MASTER_TOKEN_PRIVATE_KEY are pair by name.

@sjorobekov
Copy link
Author

Closing in favor #405

@sjorobekov sjorobekov closed this Feb 25, 2026
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.

3 participants