Replace Encryption Profile
patch
/services/{version}/encryption/profiles/{profile}
Required Role: Administrator
Modify an existing Encryption Profile.
Request
Supported Media Types
- application/json
Path Parameters
-
profile(required): string
Minimum Length:
1
Maximum Length:64
Pattern:^[A-Za-z0-9][A-Za-z0-9_:-]*$
Name of the Encryption Profile.
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Root Schema : Oracle GoldenGate Encryption Profile definition
Title:
Oracle GoldenGate Encryption Profile definition
This schema describes the configuration and properties of data encryption in OGG
Match One
Show Source
-
object Oracle GoldenGate Encryption Profile definition-x-oneOf[0]
-
object Oracle GoldenGate Encryption Profile definition-x-oneOf[1]
-
object Oracle GoldenGate Encryption Profile definition-x-oneOf[2]
-
object Oracle GoldenGate Encryption Profile definition-x-oneOf[3]
Encryption profile using the Plugin Service
Nested Schema : Oracle GoldenGate Encryption Profile definition-x-oneOf[0]
Type:
Show Source
object
-
$schema:
Allowed Values:
[ "ogg:encryptionProfile" ]
-
description:
string
Minimum Length:
1
Maximum Length:256
Description of the Encryption profile. -
isDefault:
boolean
Default Value:
false
Is default profile. -
type:
Allowed Values:
[ "localWallet" ]
OGG local wallet
Nested Schema : Oracle GoldenGate Encryption Profile definition-x-oneOf[1]
Type:
Show Source
object
-
$schema:
Allowed Values:
[ "ogg:encryptionProfile" ]
-
description:
string
Minimum Length:
1
Maximum Length:256
Description of the Encryption profile. -
isDefault:
boolean
Default Value:
false
Is default profile. -
keyNameAttribute:
string
Minimum Length:
1
Maximum Length:255
Default Value:x-OGG-KeyName
Pattern:^x[-][a-zA-Z0-9-]*$
Custom attribute used in Oracle Key Vault server to specify the masterkey name. -
keyVersionAttribute:
string
Minimum Length:
1
Maximum Length:255
Default Value:x-OGG-KeyVersion
Pattern:^x[-][a-zA-Z0-9-]*$
Custom attribute used in Oracle Key Vault server to specify the masterkey version. -
masterkey:
object masterkey
Masterkey options.
-
okvPath:
string
Minimum Length:
1
Maximum Length:4096
Path where the Oracle Key Vault client software is installed. -
okvVersion:
Default Value:
18.1
Allowed Values:[ "18.1", "21.4" ]
Version of Oracle Key Vault -
type:
Allowed Values:
[ "okv" ]
Oracle Key Vault
Nested Schema : Oracle GoldenGate Encryption Profile definition-x-oneOf[2]
Type:
Show Source
object
-
$schema:
Allowed Values:
[ "ogg:encryptionProfile" ]
-
apiSigningKey:
string
Minimum Length:
1
Maximum Length:10240
OCI API Signing Key -
apiVersion:
Default Value:
20180608
Allowed Values:[ "20180608" ]
Version of OCI KMS -
cryptoEndpoint:
string
Minimum Length:
2
Maximum Length:4095
Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
Crypto endpoint of the OCI Key Management Service API. -
description:
string
Minimum Length:
1
Maximum Length:256
Description of the Encryption profile. -
isDefault:
boolean
Default Value:
false
Is default profile. -
keyFingerprint:
string
Minimum Length:
47
Maximum Length:47
Hash (MD5) of the signing key. -
keyID:
string
Minimum Length:
1
Maximum Length:255
Pattern:ocid1[.].*[.]oc[123]{1}[.].*[.].*
-
tenancyID:
string
Minimum Length:
1
Maximum Length:255
Pattern:ocid1[.].*[.]oc[123]{1}[.].*[.].*
Tenancy OCID -
type:
Allowed Values:
[ "ocikms" ]
OCI Key Management Service -
userID:
string
Minimum Length:
1
Maximum Length:255
Pattern:ocid1[.].*[.]oc[123]{1}[.].*[.].*
User OCID
Nested Schema : Oracle GoldenGate Encryption Profile definition-x-oneOf[3]
Type:
object
Encryption profile using the Plugin Service
Show Source
-
$schema:
Allowed Values:
[ "ogg:encryptionProfile" ]
-
description:
string
Minimum Length:
1
Maximum Length:256
Description of the Encryption profile. -
isDefault:
boolean
Default Value:
false
Is default profile. -
metadata:
array metadata
Minimum Number of Items:
0
Maximum Number of Items:255
Metadata for the plugin API -
plugin:
string
Minimum Length:
1
Maximum Length:255
Oracle GoldenGate Plugin NameExample:libMinimal.so
-
type:
Allowed Values:
[ "plugin" ]
OGG Plugin
Nested Schema : masterkey
Type:
object
Masterkey options.
Show Source
-
name(required):
string
Minimum Length:
1
Maximum Length:255
-
ttl:
integer
Minimum Value:
0
Maximum Value:4294967295
Default Value:86400
-
version:
string
Minimum Length:
1
Maximum Length:255
Default Value:LATEST
Nested Schema : metadata
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
255
Metadata for the plugin API
Show Source
Nested Schema : items
Type:
Show Source
object
-
name(required):
string
Minimum Length:
1
Maximum Length:64
Metadata name -
value(required):
string
Minimum Length:
1
Maximum Length:4096
Metadata value
Example Request (application/json)
{
"type":"okv",
"isDefault":true
}
Response
Supported Media Types
- application/json
200 Response
Encryption Profile updated successfully.
Root Schema : RESTful API Standard Response
Type:
object
Title:
RESTful API Standard Response
Standard Response for all Oracle GoldenGate RESTful API calls
Show Source
-
$schema:
Allowed Values:
[ "api:standardResponse" ]
-
links(required):
array links
Minimum Number of Items:
0
Maximum Number of Items:16
Oracle GoldenGate links for the request -
messages(required):
array messages
Minimum Number of Items:
0
Maximum Number of Items:65535
Oracle GoldenGate messages issued during the request -
response:
object response
Oracle GoldenGate document from the request
Nested Schema : links
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
16
Oracle GoldenGate links for the request
Show Source
Nested Schema : messages
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
65535
Oracle GoldenGate messages issued during the request
Show Source
Nested Schema : response
Type:
object
Oracle GoldenGate document from the request
Nested Schema : items
Type:
Show Source
object
-
$schema:
Allowed Values:
[ "ogg:link" ]
-
description:
string
Minimum Length:
1
Maximum Length:4095
A human-readable description that provides information and detail specific to this link. -
href(required):
string
Minimum Length:
2
Maximum Length:4095
Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
An absolute URI for the link -
mediaType:
string
Minimum Length:
6
Maximum Length:255
Pattern:^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$
Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288) -
rel(required):
Allowed Values:
[ "alternate", "canonical", "current", "describedby", "describes", "enclosure", "parent", "related", "self", "first", "last", "next", "previous", "ogg://service" ]
Relationship of href to the requested link
Nested Schema : items
Type:
Show Source
object
-
$schema:
Allowed Values:
[ "ogg:message" ]
-
code(required):
string
Minimum Length:
9
Maximum Length:9
Pattern:^OGG[-][0-9]{5}$
The Oracle GoldenGate message code -
issued(required):
string
Minimum Length:
20
Maximum Length:32
Pattern:^[0-9]{4}[-](0[1-9]|1[0-2])[-](0[1-9]|[12][0-9]|3[01])[tT ]([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]{1,6})?([zZ]|[+-][0-9][0-9]:[0-5][0-9])$
The date and time that the message was issued -
severity(required):
Allowed Values:
[ "INFO", "WARNING", "ERROR" ]
The severity of the message -
title(required):
string
Minimum Length:
1
Maximum Length:4095
A human-readable description that provides information and detail specific to this occurence of the information, warning or error. -
type(required):
string
Minimum Length:
2
Maximum Length:4095
Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
An absolute URI [RFC3986] to a page that describes the info, warning or error type.
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:9012/services/v2/encryption/profiles/Default",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:9012/services/v2/encryption/profiles/Default",
"mediaType":"application/json",
"rel":"self"
}
],
"messages":[
]
}