Skip to main content
POST
Confirm a managed-service owner credential rotation by its digest

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

instance_id
string<uuid>
required
rotation_id
string<uuid>
required

Body

application/json
digest
string
required
Pattern: ^sha256:[a-f0-9]{64}$

Response

The confirmed rotation and what the delete of the Secret came back with.

One rotation of a managed PostgreSQL service's owner credential, as its preparing actor sees it.

id
string<uuid>
required
instance_id
string<uuid>
required
plan
object
required

The reviewed statement of what rotating a managed PostgreSQL service's owner credential changes and breaks. Every field is resolved by the server; the digest covers all of it. No field holds a value of the credential.

digest
string
required
Pattern: ^sha256:[a-f0-9]{64}$
state
enum<string>
required
Available options:
pending,
expired,
in_progress,
settled
created_at
string<date-time>
required
expires_at
string<date-time>
required
confirmed_at
string<date-time> | null
required
settled_at
string<date-time> | null
required
outcome
object | null
required

What deleting the owner credential Secret came back with.

effect
enum<string> | null
required

Null until the rotation is confirmed. taken: Ankra saw postgresql-app replaced, so each application environment on the owner credential is marked as needing a deploy and its next deploy copies the new password. awaiting: Ankra has not seen the new Secret yet, and the rotation may still take effect; another rotation is refused meanwhile. lapsed: the rotation never takes effect.

Available options:
awaiting,
taken,
lapsed,
null
effective_at
string<date-time> | null
required

When Ankra saw postgresql-app replaced; null until it has.