Implements the create key functionality
name | type | description |
---|---|---|
provider | query |
media type | data type |
---|---|
application/json | VXKmsKey (JSON) |
media type | data type | description |
---|---|---|
application/json | VXKmsKey (JSON) |
POST /keys/key
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"cipher" : "...",
"length" : 12345,
"description" : "...",
"versions" : 12345,
"material" : "...",
"versionName" : "...",
"created" : 12345,
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"name" : "...",
"cipher" : "...",
"length" : 12345,
"description" : "...",
"versions" : 12345,
"material" : "...",
"versionName" : "...",
"created" : 12345,
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
Implements the Rollover key functionality
name | type | description |
---|---|---|
provider | query |
media type | data type |
---|---|
application/json | VXKmsKey (JSON) |
media type | data type | description |
---|---|---|
application/json | VXKmsKey (JSON) |
PUT /keys/key
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"cipher" : "...",
"length" : 12345,
"description" : "...",
"versions" : 12345,
"material" : "...",
"versionName" : "...",
"created" : 12345,
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"name" : "...",
"cipher" : "...",
"length" : 12345,
"description" : "...",
"versions" : 12345,
"material" : "...",
"versionName" : "...",
"created" : 12345,
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
Implements the traditional search functionalities for Keys
name | type | description |
---|---|---|
provider | query |
media type | data type | description |
---|---|---|
application/json | VXKmsKeyList (JSON) |
GET /keys/keys
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"vXKeys" : [ {
"name" : "...",
"cipher" : "...",
"length" : 12345,
"description" : "...",
"versions" : 12345,
"material" : "...",
"versionName" : "...",
"created" : 12345,
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}, {
"name" : "...",
"cipher" : "...",
"length" : 12345,
"description" : "...",
"versions" : 12345,
"material" : "...",
"versionName" : "...",
"created" : 12345,
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
Implements the delete key functionality
name | type | description |
---|---|---|
alias | path | |
provider | query |
DELETE /keys/key/{alias}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
alias | path | |
provider | query |
media type | data type | description |
---|---|---|
application/json | VXKmsKey (JSON) |
GET /keys/key/{alias}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"name" : "...",
"cipher" : "...",
"length" : 12345,
"description" : "...",
"versions" : 12345,
"material" : "...",
"versionName" : "...",
"created" : 12345,
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}