Skip to main content
POST
/
api
/
v2
/
secret-rotations
/
windows-local-account
/
{rotationId}
/
reconcile
cURL
curl --request POST \
  --url https://us.infisical.com/api/v2/secret-rotations/windows-local-account/{rotationId}/reconcile
{
  "message": "<string>",
  "reconciled": true,
  "secretRotation": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "rotationInterval": 123,
    "rotationStatus": "<string>",
    "lastRotationAttemptedAt": "2023-11-07T05:31:56Z",
    "lastRotatedAt": "2023-11-07T05:31:56Z",
    "connection": {
      "app": "smb",
      "name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "environment": {
      "slug": "<string>",
      "name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "projectId": "<string>",
    "folder": {
      "id": "<string>",
      "path": "<string>"
    },
    "rotateAtUtc": {
      "hours": 11.5,
      "minutes": 29.5
    },
    "type": "windows-local-account",
    "parameters": {
      "username": "<string>",
      "passwordRequirements": {
        "length": 125.5,
        "required": {
          "digits": 1,
          "lowercase": 1,
          "uppercase": 1,
          "symbols": 1
        },
        "allowedSymbols": "<string>"
      },
      "rotationMethod": "login-as-target"
    },
    "secretsMapping": {
      "username": "<string>",
      "password": "<string>"
    },
    "description": "<string>",
    "isAutoRotationEnabled": true,
    "activeIndex": 0,
    "lastRotationJobId": "<string>",
    "nextRotationAt": "2023-11-07T05:31:56Z",
    "isLastRotationManual": true,
    "lastRotationMessage": "<string>"
  }
}
The reconcile endpoint is used to reset the target user’s password when credentials are out of sync. This uses the SMB Connection’s administrator credentials to reset the target user’s password and sync it with Infisical.

Path Parameters

rotationId
string<uuid>
required

The ID of the SSH Password Rotation to reconcile credentials for.

Response

Default Response

message
string
required
reconciled
boolean
required
secretRotation
object
required