Skip to main content

Nova API — /api/connections

The operations Nova tags public under /api/connections. Generated from reference-src/nova-openapi.json.

GET /api/connections​

Operation id connections_list: in Python client.call("connections_list", …), on the command line stardelt api connections_list.

The caller's connections: their own, their groups', and — for administrators — the managed ones. Values are never part of an answer, only the field names. Without a configured store (an install with spec.secrets.mode: external) the answer is built from the Connection resources: the caller's groups' rows, the ones they are a viewer of, and managed ones for an administrator, with no value.

Responses

CodeDescription
200Personal, then group, then managed connections, each sorted by name
401No token to sign in to the secret store with
502The secret store or the cluster did not answer
503The secret store is not configured

POST /api/connections​

Operation id connections_create: in Python client.call("connections_create", …), on the command line stardelt api connections_create.

Create a connection. The values in secret are written to the platform's secret store with the caller's own token and are never returned by any route. In an install with spec.secrets.mode: external there is no platform store: the body names remoteRef (the path in the enterprise store) and secretKeys, carries no value, and the operator syncs the connection.

Request body

FieldTypeRequiredDefaultDescriptionConstraints
configobject (map of string)No
namestringYes
ownerGroupstring (nullable)No
refreshIntervalstring (nullable)No
remoteRefstring (nullable)Nosecrets.mode: external: the path of the value in the enterprise store. A request with this carries no values; Nova creates the Connection and the operator syncs it.
scopestringYespersonal, group, managed
secretobject (map of string)YesThe secret field values. Write-only: Nova stores them and never reads them back.
secretKeysarray of stringNosecrets.mode: external: the property names in the store entry, one per field.
typestringYes
usableByarray of stringNo

Responses

CodeDescription
201The created connection, without values
400A sentence from the connection rules; never a value
401No token to sign in to the secret store with
403Not allowed for this scope
409A connection with this name already exists
502The secret store or the cluster did not answer
503The secret store is not configured, or no cluster connection

GET /api/connections/break-glass-log​

Operation id connections_break_glass_log: in Python client.call("connections_break_glass_log", …), on the command line stardelt api connections_break_glass_log.

The last 200 break-glass reads and refusals, newest first, for administrators. The rows carry the administrator, group, connection, reason and outcome — never a value. Cache-Control: no-store.

Responses

CodeDescription
200The most recent events, newest first
401Not signed in
403Not an administrator
503The state store is not configured

DELETE /api/connections/group/{group}/{name}​

Operation id connections_group_delete: in Python client.call("connections_group_delete", …), on the command line stardelt api connections_group_delete.

Delete one of a group's connections. The value goes first, then the resource; if the resource delete fails the entry stays visible as not-ready and the delete can be retried. In an install with spec.secrets.mode: external it deletes the Connection resource; the value in the enterprise's store is left alone.

Parameters

NameInTypeRequiredDescription
grouppathstringYesOwner group
namepathstringYesConnection name

Responses

CodeDescription
204Deleted
401No token to sign in to the secret store with
403Not a member of the group
404No such connection
502The secret store or the cluster did not answer
503The secret store is not configured, or no cluster connection

POST /api/connections/group/{group}/{name}/break-glass​

Operation id connections_group_break_glass: in Python client.call("connections_group_break_glass", …), on the command line stardelt api connections_group_break_glass.

Emergency read of a group connection by an administrator: a written reason, a notice on the Connection for the owner group, an audit row, and the values returned once. The answer is never stored and carries Cache-Control: no-store and Pragma: no-cache. Personal and managed connections are never readable.

Parameters

NameInTypeRequiredDescription
grouppathstringYesOwner group
namepathstringYesConnection name

Request body

FieldTypeRequiredDefaultDescriptionConstraints
reasonstringYes

Responses

CodeDescription
200The connection's fields, returned once and never stored; the owner group's notice is already written
400The reason is shorter than 20 characters; never a value
401No token to sign in to the secret store with
403Not an administrator, or the store refused the break-glass sign-in
404No such connection
429More than five break-glass reads by this administrator in ten minutes
502The secret store did not answer, or the notice on the Connection could not be written (nothing is returned then)
503The secret store is not configured

PUT /api/connections/group/{group}/{name}/secret​

Operation id connections_group_rotate: in Python client.call("connections_group_rotate", …), on the command line stardelt api connections_group_rotate.

Rotate some fields of one of a group's connections. Asked to write the fields that are sent; the others keep their value.

Parameters

NameInTypeRequiredDescription
grouppathstringYesOwner group
namepathstringYesConnection name

Request body

FieldTypeRequiredDefaultDescriptionConstraints
secretobject (map of string)YesThe fields to rotate; a managed connection sends every field.

Responses

CodeDescription
200The connection after the rotation, without values
400A sentence from the connection rules; never a value
401No token to sign in to the secret store with
403Not a member of the group
404No such connection
502The secret store or the cluster did not answer
503The secret store is not configured, or no cluster connection

DELETE /api/connections/managed/{name}​

Operation id connections_managed_delete: in Python client.call("connections_managed_delete", …), on the command line stardelt api connections_managed_delete.

Delete an administrator-managed connection. The value goes first, then the resource; if the resource delete fails the entry stays visible as not-ready and the delete can be retried.

Parameters

NameInTypeRequiredDescription
namepathstringYesConnection name

Responses

CodeDescription
204Deleted
401No token to sign in to the secret store with
403Managed connections are administrators' business
404No such connection
502The secret store or the cluster did not answer
503The secret store is not configured, or no cluster connection

POST /api/connections/managed/{name}/break-glass​

Operation id connections_managed_break_glass: in Python client.call("connections_managed_break_glass", …), on the command line stardelt api connections_managed_break_glass.

Always refused: break-glass covers group connections only. An administrator gets a 403 and an audit row; nothing is read.

Parameters

NameInTypeRequiredDescription
namepathstringYesConnection name

Request body

FieldTypeRequiredDefaultDescriptionConstraints
reasonstringYes

Responses

CodeDescription
401No token to sign in to the secret store with
403Break-glass covers group connections only, or the caller is not an administrator
503The secret store is not configured

PUT /api/connections/managed/{name}/secret​

Operation id connections_managed_rotate: in Python client.call("connections_managed_rotate", …), on the command line stardelt api connections_managed_rotate.

Rotate an administrator-managed connection. Nobody can read it back, so every field must be sent.

Parameters

NameInTypeRequiredDescription
namepathstringYesConnection name

Request body

FieldTypeRequiredDefaultDescriptionConstraints
secretobject (map of string)YesThe fields to rotate; a managed connection sends every field.

Responses

CodeDescription
200The connection after the rotation, without values
400A sentence from the connection rules; never a value
401No token to sign in to the secret store with
403Managed connections are administrators' business
404No such connection
502The secret store or the cluster did not answer
503The secret store is not configured, or no cluster connection

DELETE /api/connections/personal/{name}​

Operation id connections_personal_delete: in Python client.call("connections_personal_delete", …), on the command line stardelt api connections_personal_delete.

Delete one of the caller's own connections.

Parameters

NameInTypeRequiredDescription
namepathstringYesConnection name

Responses

CodeDescription
204Deleted
401No token to sign in to the secret store with
404No such connection
502The secret store did not answer
503The secret store is not configured

POST /api/connections/personal/{name}/break-glass​

Operation id connections_personal_break_glass: in Python client.call("connections_personal_break_glass", …), on the command line stardelt api connections_personal_break_glass.

Always refused: break-glass covers group connections only. An administrator gets a 403 and an audit row; nothing is read.

Parameters

NameInTypeRequiredDescription
namepathstringYesConnection name

Request body

FieldTypeRequiredDefaultDescriptionConstraints
reasonstringYes

Responses

CodeDescription
401No token to sign in to the secret store with
403Break-glass covers group connections only, or the caller is not an administrator
503The secret store is not configured

PUT /api/connections/personal/{name}/secret​

Operation id connections_personal_rotate: in Python client.call("connections_personal_rotate", …), on the command line stardelt api connections_personal_rotate.

Rotate some fields of one of the caller's own connections; the fields that are not sent keep their value.

Parameters

NameInTypeRequiredDescription
namepathstringYesConnection name

Request body

FieldTypeRequiredDefaultDescriptionConstraints
secretobject (map of string)YesThe fields to rotate; a managed connection sends every field.

Responses

CodeDescription
200The connection after the rotation, without values
400A sentence from the connection rules; never a value
401No token to sign in to the secret store with
404No such connection
502The secret store did not answer
503The secret store is not configured