encrypted-saved-objects

Encrypt sensitive attributes within Kibana Saved Objects using AAD binding.

21.2k|8.6k|Updated Jan 26, 2013
One-click install
npx skills add https://github.com/elastic/kibana --skill encrypted-saved-objects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: encrypted-saved-objects
Source: https://github.com/elastic/kibana/tree/main/.agents/skills/encrypted-saved-objects
Command: npx skills add https://github.com/elastic/kibana --skill encrypted-saved-objects

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a robust framework for encrypting sensitive data stored within Kibana's Saved Objects, ensuring data security at rest and preventing unauthorized access or leakage.

Core Features & Use Cases

  • Data Encryption: Encrypts sensitive attributes like credentials, PII, and secrets within Saved Objects.
  • AAD Binding: Uses Additional Authenticated Data (AAD) to ensure data integrity and prevent tampering.
  • Model Versioning: Manages schema changes and migrations for encrypted data across different versions.
  • Serverless Compatibility: Supports zero-downtime upgrades in Serverless environments.
  • Use Case: Securely store API keys or user credentials within Kibana by registering them as Encrypted Saved Objects, ensuring they are protected even if the database is compromised.

Quick Start

Use the encrypted-saved-objects skill to register a new saved object type named 'my_sensitive_data' with attributes 'credentials' and 'tokens' to be encrypted.

Frequently Asked Questions about encrypted-saved-objects

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encrypt sensitive data like credentials in Kibana Saved Objects?

Encrypt sensitive data in Kibana Saved Objects by registering specific attributes like credentials as encrypted. This ensures secrets are protected at rest and prevents unauthorized access if the database is compromised.

How does AAD binding secure encrypted Saved Objects in Kibana?

AAD binding secures encrypted Saved Objects by using Additional Authenticated Data to ensure data integrity. This mechanism prevents unauthorized tampering by tightly coupling the encrypted payload with its specific object context.

Can I use encrypted Saved Objects in a Serverless Kibana environment?

Encrypted Saved Objects fully support Serverless Kibana deployments. The framework is designed to handle specific Serverless constraints, ensuring data confidentiality during zero-downtime upgrades and secure cross-environment operations.

How do I handle schema migrations for encrypted data across model versions?

Handle schema migrations for encrypted data by utilizing the framework's built-in model versioning. This manages schema changes securely across different versions, maintaining data integrity without exposing raw sensitive attributes during the transition.

What is the best way to store API keys securely within Kibana?

Store API keys securely within Kibana by registering them as Encrypted Saved Objects. This approach encrypts the sensitive attributes directly, ensuring that credentials and tokens remain protected even if the underlying database is breached.

Why do I need encryption for PII stored in Kibana Saved Objects?

Encryption for PII in Kibana Saved Objects is needed to ensure data security at rest. By encrypting sensitive attributes, you prevent unauthorized access and data leakage, maintaining strict confidentiality for credentials and personal information.