<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Key management on Mimus</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/</link><description>Recent content in Key management on Mimus</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>Default principal key configuration</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/set-principal-key/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/set-principal-key/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;You can configure a default principal key for the server using a global key provider. This key is used by all databases that do not have their own encryption keys configured.&lt;/p&gt;&#10;&lt;p&gt;Configuring the default principal key is a multi-step process that uses the following functions:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://mimus.pgsty.com/docs/tde/upstream/advanced-topics/usage-guide/#add-providers"&gt;pg_tde_add_global_key_provider_&lt;TYPE&gt;()&lt;/a&gt; adds a global key provider&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://mimus.pgsty.com/docs/tde/upstream/functions/#pgtdecreatekeyusingglobalkeyprovider"&gt;pg_tde_create_key_using_global_key_provider()&lt;/a&gt; creates a principal key at a global key provider&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://mimus.pgsty.com/docs/tde/upstream/functions/#pgtdesetdefaultkeyusingglobalkeyprovider"&gt;pg_tde_set_default_key_using_global_key_provider()&lt;/a&gt; sets the default principal key and rotates the internal encryption key if one is already configured&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="add-a-global-key-provider"&gt;Add a global key provider&#10;&lt;/h2&gt;&#10;&lt;p&gt;To add a global key provider, see the &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/functions/#key-provider-management"&gt;Key provider management&lt;/a&gt; topic.&lt;/p&gt;</description></item><item><title>Akeyless KMIP server configuration</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-akeyless/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-akeyless/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;&lt;code&gt;pg_tde&lt;/code&gt; is compatible with the Akeyless CipherTrust Manager via the KMIP protocol. For a full setup guide, see &lt;a href="https://docs.akeyless.io/docs/akeyless-overview"&gt;the Akeyless documentation &lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;For more information on adding or modifying the provider, see the &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/functions/#add-or-modify-kmip-providers"&gt;Add or modify KMIP providers&lt;/a&gt; topic.&lt;/p&gt;&#10;&lt;h2 id="next-steps"&gt;Next steps&#10;&lt;/h2&gt;&#10;&lt;p&gt;&lt;a href="https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/set-principal-key/"&gt;Global Principal Key Configuration &lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/global-key-provider-configuration/kmip-akeyless.md"&gt;PG.CENTER edition&lt;/a&gt; · &lt;a href="https://github.com/percona/pg_tde/blob/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a/documentation/docs/global-key-provider-configuration/kmip-akeyless.md"&gt;Upstream source&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Fortanix KMIP server configuration</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-fortanix/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-fortanix/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;&lt;code&gt;pg_tde&lt;/code&gt; is compatible with Fortanix Data Security Manager (DSM) via the KMIP protocol. For a full setup guide, see &lt;a href="https://support.fortanix.com/docs"&gt;the Fortanix KMIP documentation here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;For more information on adding or modifying the provider, see the &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/functions/#add-or-modify-kmip-providers"&gt;Adding or modifying KMIP providers&lt;/a&gt; topic.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/global-key-provider-configuration/kmip-fortanix.md"&gt;PG.CENTER edition&lt;/a&gt; · &lt;a href="https://github.com/percona/pg_tde/blob/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a/documentation/docs/global-key-provider-configuration/kmip-fortanix.md"&gt;Upstream source&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Thales KMIP server configuration</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-thales/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-thales/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;&lt;code&gt;pg_tde&lt;/code&gt; is compatible with the Thales CipherTrust Manager via the KMIP protocol. For a full setup guide, see &lt;a href="https://thalesdocs.com/ctp/cm/2.19/reference/kmip-ref/index.html?"&gt;the Thales documentation&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;For more information on adding or modifying the provider, see the &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/functions/#add-or-modify-kmip-providers"&gt;Adding or modifying KMIP providers&lt;/a&gt; topic.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/global-key-provider-configuration/kmip-thales.md"&gt;PG.CENTER edition&lt;/a&gt; · &lt;a href="https://github.com/percona/pg_tde/blob/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a/documentation/docs/global-key-provider-configuration/kmip-thales.md"&gt;Upstream source&lt;/a&gt;&lt;/p&gt;</description></item><item><title>KMIP configuration</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-server/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/kmip-server/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Editorial correction&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This overview retains an older qualification of Vault KMIP. The 2.2.2 release notes explicitly announce Vault Enterprise KMIP support; consult those notes for the version-specific status. See &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/site/errata/"&gt;site errata&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;To use a Key Management Interoperability Protocol (KMIP) server with &lt;code&gt;pg_tde&lt;/code&gt;, you must configure it as a global key provider. This setup enables &lt;code&gt;pg_tde&lt;/code&gt; to securely fetch and manage encryption keys from a centralized key management appliance.&lt;/p&gt;</description></item><item><title>Using OpenBao as a key provider</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/openbao/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/openbao/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;You can configure &lt;code&gt;pg_tde&lt;/code&gt; to use OpenBao as a global key provider for managing encryption keys securely.&lt;/p&gt;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This guide assumes that your OpenBao server is already set up and accessible. OpenBao configuration is outside the scope of this document, see &lt;a href="https://openbao.org/docs/"&gt;OpenBao&amp;rsquo;s official documentation&lt;/a&gt; for more information.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;h2 id="example-usage"&gt;Example usage&#10;&lt;/h2&gt;&#10;&lt;p&gt;To register an OpenBao server as a global key provider:&lt;/p&gt;</description></item><item><title>Vault configuration</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/vault/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/vault/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;You can configure &lt;code&gt;pg_tde&lt;/code&gt; to use HashiCorp Vault as a global key provider for managing encryption keys securely. Both the open source and enterprise editions are supported.&lt;/p&gt;&#10;&lt;h2 id="configure-vault-with-pgtde-in-docker"&gt;Configure Vault with pg_tde in Docker&#10;&lt;/h2&gt;&#10;&lt;p&gt;This example setup describes how to run HashiCorp Vault and Percona PostgreSQL with &lt;code&gt;pg_tde&lt;/code&gt; side by side using Docker, configure Vault policies, and connect it as a global key provider for TDE encryption.&lt;/p&gt;</description></item><item><title>Keyring file configuration</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/keyring/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/keyring/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Editorial correction&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;The inspection example now uses the table it creates and the current database key-info function. See &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/site/errata/"&gt;site errata&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;This setup is intended for development and stores the keys, unencrypted, in a data file you specify.&lt;/p&gt;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;While keyring files may be acceptable for &lt;strong&gt;local&lt;/strong&gt; or &lt;strong&gt;testing environments&lt;/strong&gt;, proper &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/overview/"&gt;KMS providers&lt;/a&gt; are the recommended approach for production deployments.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Key management overview</title><link>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/overview/</link><guid>https://mimus.pgsty.com/docs/tde/upstream/global-key-provider-configuration/overview/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Editorial correction&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This overview retains an older qualification of Vault KMIP. The 2.2.2 release notes explicitly announce Vault Enterprise KMIP support; consult those notes for the version-specific status. See &lt;a href="https://mimus.pgsty.com/docs/tde/upstream/site/errata/"&gt;site errata&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;In production environments, storing encryption keys locally on the PostgreSQL server can introduce security risks. To enhance security, &lt;code&gt;pg_tde&lt;/code&gt; supports integration with external Key Management Systems (KMS) through a Global Key Provider interface.&lt;/p&gt;</description></item></channel></rss>