Skip to content

griz create keyring

Creates a new KeyRing. KeyRings require a Public Key, from an RSA PRivate/Public Key Pair. This command will create one for you if one isn't provided. See the KeyRing docuemntation for more information.

Public Key Format: PEM with type PKCS1

Flags

flag Description
--create-key-pair The KeyRing whose active Key will be rotated
--public-key File containing the Public Key (PEM format, PKCS1).
--private-key-out Exported file containg the Private Key

Examples

# Creates a KeyRing and generates the Key Pair
griz create keyring FinanceRecords_0987654321

# Creates a KeyRing using the Public Key that's provided
griz create keyring AIAgentAutomation --public-key "/Users/some/path" 

# Creates a KeyRing, generates the Key Pair, and exports the Private Key to a file
griz create keyring ProjectAcquisition --create-key-pair /some/path/rsa_private_key_file