Replace Encryption Profile

patch

/services/{version}/encryption/profiles/{profile}

Required Role: Administrator

Modify an existing Encryption Profile.

Request

Supported Media Types
Path Parameters
Body ()
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
Nested Schema : Oracle GoldenGate Encryption Profile definition-x-oneOf[0]
Type: object
Show Source
Nested Schema : Oracle GoldenGate Encryption Profile definition-x-oneOf[1]
Type: object
Show Source
  • Allowed Values: [ "ogg:encryptionProfile" ]
  • Minimum Length: 1
    Maximum Length: 256
    Description of the Encryption profile.
  • Default Value: false
    Is default profile.
  • 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.
  • 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
    Masterkey options.
  • Minimum Length: 1
    Maximum Length: 4096
    Path where the Oracle Key Vault client software is installed.
  • Default Value: 18.1
    Allowed Values: [ "18.1", "21.4" ]
    Version of Oracle Key Vault
  • Allowed Values: [ "okv" ]
    Oracle Key Vault
Nested Schema : Oracle GoldenGate Encryption Profile definition-x-oneOf[2]
Type: object
Show Source
  • Allowed Values: [ "ogg:encryptionProfile" ]
  • Minimum Length: 1
    Maximum Length: 10240
    OCI API Signing Key
  • Default Value: 20180608
    Allowed Values: [ "20180608" ]
    Version of OCI KMS
  • Minimum Length: 2
    Maximum Length: 4095
    Pattern: ^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
    Crypto endpoint of the OCI Key Management Service API.
  • Minimum Length: 1
    Maximum Length: 256
    Description of the Encryption profile.
  • Default Value: false
    Is default profile.
  • Minimum Length: 47
    Maximum Length: 47
    Hash (MD5) of the signing key.
  • Minimum Length: 1
    Maximum Length: 255
    Pattern: ocid1[.].*[.]oc[123]{1}[.].*[.].*
  • Minimum Length: 1
    Maximum Length: 255
    Pattern: ocid1[.].*[.]oc[123]{1}[.].*[.].*
    Tenancy OCID
  • Allowed Values: [ "ocikms" ]
    OCI Key Management Service
  • 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
Nested Schema : masterkey
Type: object
Masterkey options.
Show Source
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: object
Show Source
Example Request (application/json)
{
    "type":"okv",
    "isDefault":true
}
Back to Top

Response

Supported Media Types

200 Response

Encryption Profile updated successfully.

Body ()
Root Schema : RESTful API Standard Response
Type: object
Title: RESTful API Standard Response
Standard Response for all Oracle GoldenGate RESTful API calls
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: object
Show Source
  • Allowed Values: [ "ogg:message" ]
  • Minimum Length: 9
    Maximum Length: 9
    Pattern: ^OGG[-][0-9]{5}$
    The Oracle GoldenGate message code
  • 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
  • Allowed Values: [ "INFO", "WARNING", "ERROR" ]
    The severity of the message
  • 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.
  • 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":[
    ]
}
Back to Top