Retrieve Encryption Key
get
/services/{version}/enckeys/{keyName}
Required Role: User
Retrieve details for an Encryption Key.
Request
Path Parameters
-
keyName(required): string
Minimum Length:
1Maximum Length:24Pattern:^[A-Za-z_$][A-Za-z0-9_$]*$The name of the Encryption Key.
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Encryption Key details retrieved.
Root Schema : Oracle GoldenGate Encryption Key
Type:
objectTitle:
Oracle GoldenGate Encryption KeyThis schema describes an encryption key, used to encrypt data
Show Source
-
$schema:
Allowed Values:
[ "ogg:encryptKey" ] -
bitLength(required):
Allowed Values:
[ "128", "192", "256" ]Length of the encryption key, in bits
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/enckeys/superkey",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/enckeys/superkey",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/keyName",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:encryptKey",
"bitLength":"128"
}
}