乐播传媒app最新版本

Articles
5/21/2021
5 minutes

4 Kubernetes Secrets Management Best Practices

Table of contents

Originally published by New Context.
?

Most people can probably remember being reproved for whispering as a child. The reason given for this sometimes-embarrassing admonishment ranged from the whispering being considered offensive to it excluding others who were being left out of the conversation. While these are important lessons in a child’s life, when it comes to data security, almost everyone agrees that keeping sensitive information secret far outweighs any offense an excluded party may experience.

In today’s highly competitive software development and operations (DevOps) landscape, security should be a driving factor and not functionally or strategically separate. This issue is particularly important when a tool such as Kubernetes is utilized. Kubernetes does come with inherent security capabilities; however, the best security may also be achieved by integrating Kubernetes secrets management with a third-party tool.

Kubernetes Secrets?

For enterprises, sensitive information can be difficult to broadly define. For some industries, such as banking or healthcare, virtually all transactions or data exchanges may involve privileged information that could be used to identify users or patients. For other companies, the restrictions may not need to be as extensive.

Regardless of industry, however, any credentials that are used to allow specific access are indeed sensitive and therefore require security restrictions. These secrets include passwords, security keys, digital certificates, tokens, and other user authentication identifiers that must remain unknown to everyone except a finite number of authorized persons or services.

is an open-source workload orchestration and runtime platform that inherently provides many infrastructure components and deployment conventions, including secrets management. The included secrets management capability allows application-specific secrets to be configured in addition to those that are automatically created for service accounts. Moreover, it is not necessary to have access to specific application code to utilize secrets as they can be attached to an application workload via native Kubernetes functions (i.e., API call).

Although Kubernetes Secrets is an option to be considered for handling sensitive information in production environments, there are potential trade-offs that require attention. For example, the default state of secrets being unencrypted at rest (within etcd) could potentially expose them via unchecked generic administrator access. These deficiencies (if not properly compensated for) could lead to not only compromised security credentials, but also costly breaches of corporate data and personally identifiable information (PII), or possibly even the stability of system operations. In light of these challenges, let’s take a look at what best practices to apply when working with Kubernetes.

?

4 Kubernetes Secrets Management Best Practices - 乐播传媒app最新版本

Secrets Management when Using Kubernetes

To effectively protect your organization’s operations requires the incorporation of security throughout the development process. An essential aspect of this strategy is securing the identity and access credentials utilized for your applications. There are many threats to these identity credentials. For example, certificates can expire, keys can be lost, and passwords can be hacked. By following the suggested practices below, you can make the best use of Kubernetes, while providing access to secrets when needed and restricting unauthorized usage, thus minimizing or completely avoiding obstacles to smooth and secure cloud data management.

1. Pod Creation Best Practices

During development, it’s not uncommon for developers to own functionality beyond application features and therefore create code for credential utilization within their application. However, this enablement, left unchecked, could introduce poor credential handling practices, such as?deploying from and/or checking in deployment manifests that directly contain raw Secret objects. To alleviate these risks, consider implementing a separate security workflow to handle secrets configuration as distinct from application configuration, and then leverage a reference pattern (corresponding secret by name, id, or other object) within the application manifest. This enables more stringent control over how and when actual sensitive secrets data is managed.

2. Configuration Best Practices

Almost all data within the Kubernetes API is stored within the distributed data store, etc, which includes Secrets. Ensuring that the Kubernetes cluster configuration is set to encrypt all data at rest (within etcd) is critical to reducing the risk of broad compromise. Leveraging the cluster-level EncryptionConfiguration object enables this encryption at rest and reduces the number of keys that need to be properly managed to a mere handful. Ideally, managing these cluster keys with an external provider (such as a cloud provider’s KMS service) is the best route as it moves the “first key problem” outside of Kubernetes itself.

3. Networking Best Practices

Applying the least-privilege concept to network traffic can provide extra assurances that sensitive Kubernetes cluster components (such as the API server and etcd) are only accessible from the services that need direct access. Consider locking down service-to-service traffic to only the required ports and sources via your cloud provider’s traffic filtering mechanisms (e.g., AWS Security Groups). Also, taking this a step beyond cluster component traffic, restricting traffic between application components should also be considered and could be achieved by leveraging a NetworkPolicy tool (e.g., Calico).

4. Security Best Practices

By default, Kubernetes administrators can access all Secrets stored within the cluster. Infrastructure/cloud administrators can potentially access the node’s storage and/or backups, which may contain unencrypted data (unless the steps in #2 were taken to encrypt data at rest). Therefore, restricting these privileges is critical to avoid unintended access of secrets. Leveraging both Kubernetes RBAC and your cloud provider’s RBAC (if applicable) is crucial to maintaining proper access for different staff, as well as audit and logging capabilities for incidents where a trusted insider may be involved.

Following these best practices will result in more robust Kubernetes security management. However, replacing or supplementing the above patterns with a third-party tool for secrets management may be the best fit for your organization.

Alternative Kubernetes Secrets Practices

The security issues inherent with Kubernetes secrets management has led to the development of alternative approaches that allow for more flexible and robust security. One of these is , which is an open-source Kubernetes controller that enables Secrets data to be safely stored in git and can be customized to address specific access issues. Another option is to use the popular tool. Vault is a well-tested and dependable option that includes dynamic secrets generation, replication across region, cloud, and datacenter, and can be used with various authentication methods.

Applying Kubernetes Secrets Management Best Practices

As outlined above, Kubernetes secrets are potentially accessible by unauthorized users, especially if the precautions listed above are not followed. Therefore, the best practice may be to opt for a less complex, more powerful alternative as discussed above. In either case, the best implementation option is to enlist an experienced DevSecOps partner who is fully committed to providing you with the most secure environment.
?

?

Book a demo

About The Author

#1 DevOps Platform for Salesforce

We Build Unstoppable Teams By Equipping DevOps Professionals With The Platform, Tools And Training They Need To Make Release Days Obsolete. Work Smarter, Not Longer.

AWTTセッションレポート:カインズが再定義したAI時代のSalesforce DevOps
【AWTT Summer 2026 振り返り】AIエージェント時代に、私たちが本当に備える開発?运用の新標準とは?
Accelerating the Agentic Era in Brazil: 乐播传媒app最新版本 and Capgemini Deepen Strategic Partnership
Salesforce Source Format vs Metadata Format
Get Started with Agentforce in Salesforce
Data 360 Is the Operational Backbone of Agentforce — But Most Enterprises Are Not Ready to Deploy It Safely
What Is Agentforce Salesforce?
AIエージェント時代のシステム戦略 ~ROIを最大化するIT部門の再設計~【イベントレポート CIO Round Table 2026】
Will AI Replace DevOps Jobs?
How to Use AI in DevOps
Agentic AI DevOps Explained
「汎用AI」ではまだ成しえない Salesforce运用を劇的に変える3つのポイント
乐播传媒app最新版本 Introduces Agentia?, Bringing Context-Aware AI Agents to Salesforce DevOps
「AI駆動開発」が切り拓くSalesforce内製化 ?次世代运用モデル実装への道のり?
础滨エージェントが切り拓く厂滨ビジネスの未来とリーダーシップの変革
How Does Salesforce Agentforce Work
Agentforce vs Einstein: Choosing the Right AI to Move from Insight to Action
Agentforce Developer Guide
DevOps Pipeline Best Practices
DevSecOps vs. DevOps
DevOps vs. Agile
Generative AI in DevOps
How DevOps Teams Use AI to Win
Using AI in DevOps
Salesforce開発?运用の未来?AIと共にSIビジネスモデルを「工数」から「価値」へ変革
顿别惫翱辫蝉におけるエージェンティック础滨:チームのための自动化ソリューション
乐播传媒app最新版本 Awarded on CarahSoft’s GSA Schedule, Expanding Access for Federal Agencies
颁辞辫补诲辞、贵别诲搁础惭笔认証を更新し、米国军事组织向け滨尝5取得に向けて前进
成功を“設計”するという発想──乐播传媒app最新版本が提唱する「Project Success Design」
コパード、础滨と协働する未来に向けてパートナー6社と顿谤别补尘蹿辞谤肠别でパネルディスカッション初开催!
乐播传媒app最新版本、Salesforce 2025 Partner Innovation Awardを受賞
乐播传媒app最新版本 CI/CD & Robotic Testing Now TX-RAMP Certified for Texas Government
なぜテストが形骸化するのか? - Salesforce開発現場で「テストはやっている」のに、本番障害が減らない理由
Org Intelligence:なぜ「コンテキスト」がSalesforce DevOpsツールにおいてこれほど重要なのか?
「人ではなくAIに聞ける時代へ ― Salesforce環境を理解する乐播传媒app最新版本 AI Org Intelligence」
厂补濒别蝉蹿辞谤肠别プロジェクトの“隠れコスト”とは??顿别惫翱辫蝉活用で毎月100时间を削减した実践例?
コパード、セールスフォースの环境をエンドツーエンドで可视化する「组织インテリジェンス」をリリース
パイプラインの可視性が Salesforce DevOps 変革成功の鍵である理由
AIが変える意思決定 - スピードと精度は両立できるのか?
属人运用の限界が経営を止める?今こそ始めるSalesforce DevOps?
厂补濒别蝉蹿辞谤肠别におけるユーザー受入テストの进め方:课题、ベストプラクティス、および戦略
Navigating Salesforce Data Cloud: DevOps Challenges and 乐播传媒app最新版本 for Salesforce Developers
独自にSalesforce DevOpsソリューションを構築する際の見えざるコスト
CPQ and Revenue Cloud Deployment: A DevOps Approach
Salesforce DevOpsを支えるAI活用型リリース戦略
コパード、サンブリッジパートナーズとの提携により日本での事业を拡大
础滨で顿别惫翱辫蝉をより简単に、より高速に
Reimagining Salesforce Development with 乐播传媒app最新版本's AI-Powered Platform
ビジネスアプリケーション向けの顿别惫翱辫蝉(デブオプス)って何?
セールスフォースエコシステムにおける顿别惫翱辫蝉の卓越性
セールスフォーステストにおける础滨活用のベストプラクティス
6 testing metrics that’ll speed up your Salesforce release velocity (and how to track them)
第4章: 手動テストの概要
セールスフォース向け础滨动作テスト
Chapter 3: Testing Fun-damentals
Salesforce Deployment: Avoid Common Pitfalls with AI-Powered Release Management
Exploring DevOps for Different Types of Salesforce Clouds
What’s Special About Testing Salesforce? - Chapter 2
Why Test Salesforce? - Chapter 1
Continuous Integration for Salesforce Development
Comparing Top AI Testing Tools for Salesforce
Avoid Deployment Conflicts with 乐播传媒app最新版本’s Selective Commit Feature: A New Way to Handle Overlapping Changes
From Learner to Leader: Journey to 乐播传媒app最新版本 Champion of the Year
The Future of Salesforce DevOps: Leveraging AI for Efficient Conflict Management
How To Sync Salesforce Environments | 乐播传媒app最新版本
乐播传媒app最新版本 and Wipro Team Up to Transform Salesforce DevOps
DevOps Needs for Operations in China: Salesforce on Alibaba Cloud
What is Salesforce Deployment Automation? How to Use Salesforce Automation Tools
From Chaos to Clarity: Managing Salesforce Environment Merges and Consolidations
Future Trends in Salesforce DevOps: What Architects Need to Know
Enhancing Customer Service with 乐播传媒app最新版本GPT Technology
What is Efficient Low Code Deployment?
乐播传媒app最新版本 Launches Test Copilot to Deliver AI-powered Rapid Test Creation
Cloud-Native Testing Automation: A Comprehensive Guide
Building a Scalable Governance Framework for Sustainable Value
乐播传媒app最新版本 Launches 乐播传媒app最新版本 Explorer to Simplify and Streamline Testing on Salesforce
Exploring Top Cloud Automation Testing Tools
Master Salesforce DevOps with 乐播传媒app最新版本 Robotic Testing
Exploratory Testing vs. Automated Testing: Finding the Right Balance
A Guide to Salesforce Source Control | 乐播传媒app最新版本
A Guide to DevOps Branching Strategies
Family Time vs. Mobile App Release Days: Can Test Automation Help Us Have Both?
How to Resolve Salesforce Merge Conflicts | 乐播传媒app最新版本
乐播传媒app最新版本 Expands Beta Access to 乐播传媒app最新版本GPT for All Customers, Revolutionizing SaaS DevOps with AI
Is Mobile Test Automation Unnecessarily Hard? A Guide to Simplify Mobile Test Automation
From Silos to Streamlined Development: Tarun’s Tale of DevOps Success
Simplified Scaling: 10 Ways to Grow Your Salesforce Development Practice
What is Salesforce Incident Management?
What Is Automated Salesforce Testing? Choosing the Right Automation Tool for Salesforce
乐播传媒app最新版本 Appoints Seasoned Sales Executive Bob Grewal to Chief Revenue Officer
Business Benefits of DevOps: A Guide
乐播传媒app最新版本 Brings Generative AI to Its DevOps Platform to Improve Software Development for Enterprise SaaS
乐播传媒app最新版本 Celebrates 10 Years of DevOps for Enterprise SaaS 乐播传媒app最新版本
Celebrating 10 Years of 乐播传媒app最新版本: A Decade of DevOps Evolution and Growth
5 Reasons Why 乐播传媒app最新版本 = Less Divorces for Developers
What is DevOps? Build a Successful DevOps Ecosystem with 乐播传媒app最新版本’s Best Practices
Scaling App Development While Meeting Security Standards
5 Data Deploy Features You Don’t Want to Miss
How to Elevate Customer Experiences with Automated Testing
Top 5 Reasons I Choose 乐播传媒app最新版本 for Salesforce Development
Go back to resources
There is no previous posts
Go back to resources
There is no next posts

Explore more about

CI/CD
Articles
June 25, 2026
AWTTセッションレポート:カインズが再定義したAI時代のSalesforce DevOps
Articles
June 17, 2026
【AWTT Summer 2026 振り返り】AIエージェント時代に、私たちが本当に備える開発?运用の新標準とは?
Articles
May 12, 2026
Accelerating the Agentic Era in Brazil: 乐播传媒app最新版本 and Capgemini Deepen Strategic Partnership
Articles
May 8, 2026
Salesforce Source Format vs Metadata Format

础滨を有効活用し顿别惫翱辫蝉を加速

より速くリリースし、リスクを排除し、仕事を楽しんでください。
Try 乐播传媒app最新版本 Devops.

リソース

Explore our DevOps resource library. Level up your Salesforce DevOps skills today.

今后のイベントと
オンラインセミナー

电子书籍とホワイトペーパー

サポートとドキュメンテーション

デモライブラリ