Read a Key Pair
GET/apis/harvesterhci.io/v1beta1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/keypairs/{name:[a-z0-9][a-z0-9\-]*}
Get a KeyPair object.
Request
Path Parameters
name stringrequired
Name of the resource
namespace stringrequired
Object name and auth scope, such as for teams and projects
Query Parameters
exact boolean
Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
export boolean
Should this value be exported. Export strips fields that a user can not specify.
Responses
- 200
- 401
OK
- application/json
- application/yaml
- application/json;stream=watch
- Schema
- Example (from schema)
Schema
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"publicKey": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"fingerPrint": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"publicKey": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"fingerPrint": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"publicKey": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"fingerPrint": "string"
}
}
Unauthorized
- application/json
- application/yaml
- application/json;stream=watch
- Schema
Schema
string
- Schema
Schema
string
- Schema
Schema
string
Loading...