Skip to content

Harden parent credential update path and enforce token TTL cap#8

Open
stjiao14 wants to merge 7 commits into
sufforest:mainfrom
stjiao14:main
Open

Harden parent credential update path and enforce token TTL cap#8
stjiao14 wants to merge 7 commits into
sufforest:mainfrom
stjiao14:main

Conversation

@stjiao14

Copy link
Copy Markdown
Contributor

Enforced a hard maximum bearer-token TTL (24h) in internal/token/issue.go via TokenMaxTTL.

Added validation coverage for overlong TTL in internal/token/token_test.go.

Removed CLI --secret-key usage from parent-credential update commands to reduce argv leakage risk.

Updated drift parent set to source secret from DRIFT_SECRET_ACCESS_KEY or a hidden interactive prompt.

Updated hidden compatibility command drift config set-parent to reuse Workspace.ParentSet with live verification, instead of writing parent creds directly.

Updated grant flag help text to reflect enforced TTL max.

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.

1 participant