How to extract key and nonce from the exported encrypted key which is of type aes256-gcm96

Hi Vault Team,
I am trying to extract key and nonce from the exported encryption key. I have created encryption key of type aes256-gcm96. Now for the application use case I have to export this Key and extract key, nonce to encrypt and decrypt the data.
How to export key and nonce from the exported encryption key ? Could you please help on this - Thanks

Hi @marriravinder.reddy ,

Are you use Vault or HCP Vault Secrets (two separate products) but from your question sounds like this is Vault?

If I correctly interpreted your question as Vault specific, have you reviewed the transit docs?

Transit - Secrets Engines - HTTP API | Vault | HashiCorp Developer ?