Skip to content

TPT-4221: Enhance security of kubeconfig file permission - #919

Open
yec-akamai wants to merge 2 commits into
devfrom
TPT-4221/fix-k8s-permission
Open

TPT-4221: Enhance security of kubeconfig file permission#919
yec-akamai wants to merge 2 commits into
devfrom
TPT-4221/fix-k8s-permission

Conversation

@yec-akamai

Copy link
Copy Markdown
Contributor

📝 Description

Ensure that kubeconfig files are now created via 600 instead of 644. Permissions are set atomically at creation, so contents are never briefly world-readable. Pre-existing files with group/other bits set are tightened to 600 on write. The parent directory is created with mode 700.

✔️ How to Test

make test-unit

@yec-akamai
yec-akamai requested review from a team as code owners August 7, 2026 14:53
@yec-akamai yec-akamai added the improvement for improvements in existing functionality in the changelog. label Aug 7, 2026
@yec-akamai
yec-akamai requested review from mawilk90 and zliang-akamai and removed request for a team August 7, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement for improvements in existing functionality in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant