Retrieve key manager configurations
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
GET /security/key-managers/{security_key_manager.uuid}/keys/{node.uuid}/key-ids
Introduced In: 9.11
Retrieves key manager configurations.
Required properties
-
security_key_manager.uuid
- Key manager UUID. -
node.uuid
- Node UUID.
Related ONTAP commands
-
security key-manager key query
-
security key-manager key query -node <node>
-
security key-manager key query -node <node> -key-manager <key_manager>
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
policy |
string |
query |
False |
Filter by policy
|
encryption_algorithm |
string |
query |
False |
Filter by encryption_algorithm
|
key_manager |
string |
query |
False |
Filter by key_manager
|
crn |
string |
query |
False |
Filter by crn
|
scope |
string |
query |
False |
Filter by scope
|
key_user |
string |
query |
False |
Filter by key_user
|
key_tag |
string |
query |
False |
Filter by key_tag
|
key_store |
string |
query |
False |
Filter by key_store
|
key_store_type |
string |
query |
False |
Filter by key_store_type
|
svm.uuid |
string |
query |
False |
Filter by svm.uuid
|
svm.name |
string |
query |
False |
Filter by svm.name
|
key_type |
string |
query |
False |
Filter by key_type
|
node.name |
string |
query |
False |
Filter by node.name
|
restored |
boolean |
query |
False |
Filter by restored
|
key_id |
string |
query |
False |
Filter by key_id
|
key_server |
string |
query |
False |
Filter by key_server
|
security_key_manager.uuid |
string |
path |
True |
Key manager UUID. |
node.uuid |
string |
path |
True |
Node UUID. |
max_records |
integer |
query |
False |
Limit the number of records returned. |
return_records |
boolean |
query |
False |
The default is true for GET calls. When set to false, only the number of records is returned.
|
return_timeout |
integer |
query |
False |
The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached.
|
order_by |
array[string] |
query |
False |
Order results by specified fields and optional [asc |
desc] direction. Default direction is 'asc' for ascending. |
fields |
array[string] |
query |
False |
Response
Status: 200, Ok
Name | Type | Description |
---|---|---|
_links |
||
num_records |
integer |
Number of records |
records |
array[key_manager_keys] |
Example response
{
"_links": {
"next": {
"href": "/api/resourcelink"
},
"self": {
"href": "/api/resourcelink"
}
},
"num_records": 1,
"records": [
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"crn": "CRN=v1:bluemix:public:containers-kubernetes",
"encryption_algorithm": "XTS-AES-256",
"key_id": "000000000000000002000000000001008963c9213194c59555c1bec8db3603c800000000",
"key_manager": "keyserver1.local:5696",
"key_server": "keyserver1.com:5698",
"key_store": "string",
"key_store_type": "string",
"key_tag": "key#",
"key_type": "string",
"key_user": "vs1",
"node": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "node1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
},
"policy": "IBM_Key_Lore",
"restored": 1,
"scope": "string",
"security_key_manager": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563434"
},
"svm": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "svm1",
"uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
}
}
]
}
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
65537125 |
The provided key manager UUID is not the UUID of a keymanager. |
Also see the table of common errors in the Response body overview section of this documentation.
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
Name | Type | Description |
---|---|---|
next |
||
self |
self_link
Name | Type | Description |
---|---|---|
self |
_links
Name | Type | Description |
---|---|---|
self |
node
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
|
uuid |
string |
security_key_manager
Security key manager object reference.
Name | Type | Description |
---|---|---|
_links |
||
uuid |
string |
Key manager UUID |
svm
SVM, applies only to SVM-scoped objects.
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
The name of the SVM. This field cannot be specified in a PATCH method. |
uuid |
string |
The unique identifier of the SVM. This field cannot be specified in a PATCH method. |
key_manager_keys
Displays the keys stored in a key manager.
Name | Type | Description |
---|---|---|
_links |
||
crn |
string |
Cloud resource name. |
encryption_algorithm |
string |
Encryption algorithm for the key |
key_id |
string |
Key identifier. |
key_manager |
string |
Key manager key server managing the key. Indicates the external key server when external key manager is configured. |
key_server |
string |
External key server for key management. |
key_store |
string |
Security key manager configured for the given key manager UUID. Key manager keystore value can be onboard or external. |
key_store_type |
string |
Security key manager keystore type. Keystore type can be onboard, external, or supported cloud key manager. |
key_tag |
string |
Additional information associated with the key. |
key_type |
string |
Encryption Key type. |
key_user |
string |
SVM associated with the key. |
node |
||
policy |
string |
Key store policy. |
restored |
boolean |
Indicates whether the key is present locally on the node. |
scope |
string |
Set to "svm" for interfaces owned by an SVM. Otherwise, set to "cluster". |
security_key_manager |
Security key manager object reference. |
|
svm |
SVM, applies only to SVM-scoped objects. |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |