Percona-Lab / pg_tde

MIT License
107 stars 19 forks source link

A function to get the current master key info. #150

Closed codeforall closed 6 months ago

codeforall commented 6 months ago

Commit adds tde_master_key_info() function that returns the information about the master key for the database.

select * from tde_master_key_info();

master_key_name | key_provider_name | key_provider_id | master_key_internal_name | master_key_version | key_createion_time

-----------------+-------------------+-----------------+--------------------------+--------------------+-------------------------------

test-master-key | file-two | 1 | test-master-key_1 | 1 | 2024-03-25 18:07:13.131834+05

(1 row)