Read a Namespaced Key Pair

  1. GET /apis/harvesterhci.io/v1beta1/namespaces/:namespace/keypairs/:name

Get a KeyPair object.

Request

Path Parameters

name stringrequired

Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*

Name of the resource

namespace stringrequired

Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*

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/json;stream=watch
  • application/yaml

  • Schema

  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec objectrequired

publicKey stringrequired

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

fingerPrint string

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "publicKey": "string"
  10. },
  11. "status": {
  12. "conditions": [
  13. {
  14. "lastTransitionTime": "string",
  15. "lastUpdateTime": "string",
  16. "message": "string",
  17. "reason": "string",
  18. "status": "string",
  19. "type": "string"
  20. }
  21. ],
  22. "fingerPrint": "string"
  23. }
  24. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec objectrequired

publicKey stringrequired

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

fingerPrint string

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "publicKey": "string"
  10. },
  11. "status": {
  12. "conditions": [
  13. {
  14. "lastTransitionTime": "string",
  15. "lastUpdateTime": "string",
  16. "message": "string",
  17. "reason": "string",
  18. "status": "string",
  19. "type": "string"
  20. }
  21. ],
  22. "fingerPrint": "string"
  23. }
  24. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec objectrequired

publicKey stringrequired

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

fingerPrint string

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "publicKey": "string"
  10. },
  11. "status": {
  12. "conditions": [
  13. {
  14. "lastTransitionTime": "string",
  15. "lastUpdateTime": "string",
  16. "message": "string",
  17. "reason": "string",
  18. "status": "string",
  19. "type": "string"
  20. }
  21. ],
  22. "fingerPrint": "string"
  23. }
  24. }

Unauthorized

  • application/json
  • application/json;stream=watch
  • application/yaml

  • Schema

Schema

string

  • Schema

Schema

string

  • Schema

Schema

string

Loading…