Skip to navigation

Create Harbor Key

Beta

Generates a new Harbor credential and returns its plaintext value once.

Store the returned value securely. Polytomic returns it only in this response.

For access that expires automatically, issue a Harbor-subject temporary credential instead. Temporary credential issuance also supports user subjects.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

harbor_idstringRequiredformat: "uuid"
Unique identifier of the Harbor

Headers

X-Polytomic-VersionstringOptional

Response

OK
dataobjectOptional
The created credential

Errors

403
Forbidden Error
404
Not Found Error
500
Internal Server Error