Gets details about a secret.
GET {{baseUrl}}/secrets/:secretId
Gets information about the specified secret.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique identifier for the request. If provided, the returned request ID | |
will include this value. Otherwise, a random request ID will be | |||
generated by the service. | |||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","vaultId":"\u003cstring\u003e","secretName":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","lifecycleState":"DELETING","timeCreated":"\u003cdateTime\u003e","currentVersionNumber":"\u003clong\u003e","definedTags":{"mollit__":{"occaecat_b43":{},"elit332":{}}},"description":"\u003cstring\u003e","freeformTags":{"elit4":"\u003cstring\u003e"},"keyId":"\u003cstring\u003e","lifecycleDetails":"\u003cstring\u003e","metadata":{"aute_44":{},"dolor_17":{}},"secretRules":[{"ruleType":"SECRET_REUSE_RULE"},{"ruleType":"SECRET_EXPIRY_RULE"}],"timeOfCurrentVersionExpiry":"\u003cdateTime\u003e","timeOfDeletion":"\u003cdateTime\u003e"}