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:
1
Maximum Length:24
Pattern:^[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
Title:
Oracle GoldenGate Encryption Key
This schema describes an encryption key, used to encrypt data
Match One
Show Source
-
object Oracle GoldenGate Encryption Key-x-oneOf[0]
128-bit encryption key
-
object Oracle GoldenGate Encryption Key-x-oneOf[1]
192-bit encryption key
-
object Oracle GoldenGate Encryption Key-x-oneOf[2]
256-bit encryption key
Nested Schema : Oracle GoldenGate Encryption Key-x-oneOf[0]
Type:
object
128-bit encryption key
Show Source
-
$schema:
Allowed Values:
[ "ogg:encryptKey" ]
-
bitLength(required):
Allowed Values:
[ "128" ]
Length of the encryption key, in bits -
keyValue:
string
Minimum Length:
34
Maximum Length:34
Pattern:0x[A-Fa-f0-9]{32}
An optional encryption key value. If not provided, one will be generated.
Nested Schema : Oracle GoldenGate Encryption Key-x-oneOf[1]
Type:
object
192-bit encryption key
Show Source
-
$schema:
Allowed Values:
[ "ogg:encryptKey" ]
-
bitLength(required):
Allowed Values:
[ "192" ]
Length of the encryption key, in bits -
keyValue:
string
Minimum Length:
50
Maximum Length:50
Pattern:0x[A-Fa-f0-9]{48}
An optional encryption key value. If not provided, one will be generated.
Nested Schema : Oracle GoldenGate Encryption Key-x-oneOf[2]
Type:
object
256-bit encryption key
Show Source
-
$schema:
Allowed Values:
[ "ogg:encryptKey" ]
-
bitLength(required):
Allowed Values:
[ "256" ]
Length of the encryption key, in bits -
keyValue:
string
Minimum Length:
66
Maximum Length:66
Pattern:0x[A-Fa-f0-9]{64}
An optional encryption key value. If not provided, one will be generated.
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:9012/services/v2/enckeys/superkey",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:9012/services/v2/enckeys/superkey",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:9012/services/v2/metadata-catalog/keyName",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:encryptKey",
"bitLength":"128"
}
}