iya-sts
    Preparing search index...
    push: (id: string, secretName: string, value: Json) => Promise<PushResult> = ...

    Type Declaration

      • (id: string, secretName: string, value: Json): Promise<PushResult>
      • Pushes a new version of a service account's secret to a destination: the write a rotation commits a password after (#221 decision 5). Never throws, never creates a secret, never logs or returns the password.

        Parameters

        • id: string

          the destination's DN, or its identifier

        • secretName: string

          the secret's name or path at the destination

        • value: Json

          username, password, realm and rotatedAt

        Returns Promise<PushResult>

        { ok: true, version }, or { ok: false, error, code }