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
| Code | Description |
|---|---|
200 | Personal, then group, then managed connections, each sorted by name |
401 | No token to sign in to the secret store with |
502 | The secret store or the cluster did not answer |
503 | The 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
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
config | object (map of string) | No | |||
name | string | Yes | |||
ownerGroup | string (nullable) | No | |||
refreshInterval | string (nullable) | No | |||
remoteRef | string (nullable) | No | secrets.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. | ||
scope | string | Yes | personal, group, managed | ||
secret | object (map of string) | Yes | The secret field values. Write-only: Nova stores them and never reads them back. | ||
secretKeys | array of string | No | secrets.mode: external: the property names in the store entry, one per field. | ||
type | string | Yes | |||
usableBy | array of string | No |
Responses
| Code | Description |
|---|---|
201 | The created connection, without values |
400 | A sentence from the connection rules; never a value |
401 | No token to sign in to the secret store with |
403 | Not allowed for this scope |
409 | A connection with this name already exists |
502 | The secret store or the cluster did not answer |
503 | The 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
| Code | Description |
|---|---|
200 | The most recent events, newest first |
401 | Not signed in |
403 | Not an administrator |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
group | path | string | Yes | Owner group |
name | path | string | Yes | Connection name |
Responses
| Code | Description |
|---|---|
204 | Deleted |
401 | No token to sign in to the secret store with |
403 | Not a member of the group |
404 | No such connection |
502 | The secret store or the cluster did not answer |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
group | path | string | Yes | Owner group |
name | path | string | Yes | Connection name |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
reason | string | Yes |
Responses
| Code | Description |
|---|---|
200 | The connection's fields, returned once and never stored; the owner group's notice is already written |
400 | The reason is shorter than 20 characters; never a value |
401 | No token to sign in to the secret store with |
403 | Not an administrator, or the store refused the break-glass sign-in |
404 | No such connection |
429 | More than five break-glass reads by this administrator in ten minutes |
502 | The secret store did not answer, or the notice on the Connection could not be written (nothing is returned then) |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
group | path | string | Yes | Owner group |
name | path | string | Yes | Connection name |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
secret | object (map of string) | Yes | The fields to rotate; a managed connection sends every field. |
Responses
| Code | Description |
|---|---|
200 | The connection after the rotation, without values |
400 | A sentence from the connection rules; never a value |
401 | No token to sign in to the secret store with |
403 | Not a member of the group |
404 | No such connection |
502 | The secret store or the cluster did not answer |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Connection name |
Responses
| Code | Description |
|---|---|
204 | Deleted |
401 | No token to sign in to the secret store with |
403 | Managed connections are administrators' business |
404 | No such connection |
502 | The secret store or the cluster did not answer |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Connection name |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
reason | string | Yes |
Responses
| Code | Description |
|---|---|
401 | No token to sign in to the secret store with |
403 | Break-glass covers group connections only, or the caller is not an administrator |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Connection name |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
secret | object (map of string) | Yes | The fields to rotate; a managed connection sends every field. |
Responses
| Code | Description |
|---|---|
200 | The connection after the rotation, without values |
400 | A sentence from the connection rules; never a value |
401 | No token to sign in to the secret store with |
403 | Managed connections are administrators' business |
404 | No such connection |
502 | The secret store or the cluster did not answer |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Connection name |
Responses
| Code | Description |
|---|---|
204 | Deleted |
401 | No token to sign in to the secret store with |
404 | No such connection |
502 | The secret store did not answer |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Connection name |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
reason | string | Yes |
Responses
| Code | Description |
|---|---|
401 | No token to sign in to the secret store with |
403 | Break-glass covers group connections only, or the caller is not an administrator |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Connection name |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
secret | object (map of string) | Yes | The fields to rotate; a managed connection sends every field. |
Responses
| Code | Description |
|---|---|
200 | The connection after the rotation, without values |
400 | A sentence from the connection rules; never a value |
401 | No token to sign in to the secret store with |
404 | No such connection |
502 | The secret store did not answer |
503 | The secret store is not configured |