Ask Your Question
0

How can I know the type of secret returned by get secrets call?

asked 2015-12-23 03:48:30 -0600

manojjawalkar gravatar image

Barbican call GET /v1/secrets/{uuid} will retrieve a secret’s metadata. How can I determine the type of secret returned (i.e, if it is a Symmetric key, or Public key, or Private key etc.) from that call?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-01-19 03:32:40 -0600

manojjawalkar gravatar image

In the response there is a parameter called secret_type which tells the type of the secret returned. For eg. secret_type = symmetric tells that it is a symmetric key.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-12-23 03:39:07 -0600

Seen: 65 times

Last updated: Jan 19 '16