From f3b8bacd23193e53fbbc7a5ba9de0faebd289d61 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 11 Jul 2024 02:58:52 +0200 Subject: [PATCH] chore: quick dump of key management commands and notions --- knowledge base/acronyms and abbreviations.md | 2 ++ snippets/aws.fish | 2 ++ 2 files changed, 4 insertions(+) diff --git a/knowledge base/acronyms and abbreviations.md b/knowledge base/acronyms and abbreviations.md index 91d9833..76543de 100644 --- a/knowledge base/acronyms and abbreviations.md +++ b/knowledge base/acronyms and abbreviations.md @@ -67,6 +67,8 @@ | JRE | Java Runtime Engine | | | K8S | [Kubernetes] | | | KISS | Keep It Simple Stupid | Also see [KISS principle is not that simple] | +| KMS | Key Management Service | | +| KMS | Knowledge Management System | | | LAN | Local Area Network | | | LED | Light Emitting Diode | | | LIFO | Last In First Out | | diff --git a/snippets/aws.fish b/snippets/aws.fish index 5a4bcf4..0fc33ee 100644 --- a/snippets/aws.fish +++ b/snippets/aws.fish @@ -125,3 +125,5 @@ aws rds describe-db-parameters --db-parameter-group-name 'default.postgres15' \ aws rds describe-db-parameters --db-parameter-group-name 'default.postgres15' \ --query "Parameters[?ParameterName=='shared_preload_libraries'].ApplyMethod" --output 'text' aws rds describe-db-parameters --db-parameter-group-name 'default.postgres15' --output 'json' --query "Parameters[?ApplyType!='dynamic']" + +aws kms get-key-policy --output 'text' --key-id '01234567-89ab-cdef-0123-456789abcdef'