> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List

> List all the Secret Rotations for the specified project.



## OpenAPI

````yaml GET /api/v2/secret-rotations
openapi: 3.0.3
info:
  title: Infisical API
  description: List of all available APIs that can be consumed
  version: 0.0.1
servers:
  - url: https://us.infisical.com
    description: Production server (US)
  - url: https://eu.infisical.com
    description: Production server (EU)
  - url: http://localhost:8080
    description: Local server
security: []
paths:
  /api/v2/secret-rotations:
    get:
      tags:
        - Secret Rotations
      description: List all the Secret Rotations for the specified project.
      operationId: listSecretRotations
      parameters:
        - schema:
            type: string
            minLength: 1
          in: query
          name: projectId
          required: true
          description: The ID of the project to list Secret Rotations from.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  secretRotations:
                    type: array
                    items:
                      anyOf:
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - postgres
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - postgres-credentials
                            parameters:
                              type: object
                              properties:
                                username1:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the first login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                username2:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the second login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                rotationStatement:
                                  type: string
                                  minLength: 1
                                  description: The SQL template query used for rotation.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                              required:
                                - username1
                                - username2
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the active
                                    username will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the generated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - mssql
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - mssql-credentials
                            parameters:
                              type: object
                              properties:
                                username1:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the first login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                username2:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the second login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                rotationStatement:
                                  type: string
                                  minLength: 1
                                  description: The SQL template query used for rotation.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                              required:
                                - username1
                                - username2
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the active
                                    username will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the generated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - mysql
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - mysql-credentials
                            parameters:
                              type: object
                              properties:
                                username1:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the first login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                username2:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the second login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                rotationStatement:
                                  type: string
                                  minLength: 1
                                  description: The SQL template query used for rotation.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                              required:
                                - username1
                                - username2
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the active
                                    username will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the generated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - oracledb
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - oracledb-credentials
                            parameters:
                              type: object
                              properties:
                                username1:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the first login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                username2:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the second login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                rotationStatement:
                                  type: string
                                  minLength: 1
                                  description: The SQL template query used for rotation.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                              required:
                                - username1
                                - username2
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the active
                                    username will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the generated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - auth0
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - auth0-client-secret
                            parameters:
                              type: object
                              properties:
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The client ID of the Auth0 Application to
                                    rotate the client secret for.
                              required:
                                - clientId
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the client ID
                                    will be mapped to.
                                clientSecret:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    client secret will be mapped to.
                              required:
                                - clientId
                                - clientSecret
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - azure-client-secrets
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - azure-client-secret
                            parameters:
                              type: object
                              properties:
                                objectId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The ID of the Azure Application to rotate
                                    the client secret for.
                                appName:
                                  type: string
                                  description: >-
                                    The name of the Azure Application to rotate
                                    the client secret for.
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The client ID of the Azure Application to
                                    rotate the client secret for.
                              required:
                                - objectId
                                - clientId
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the client ID
                                    will be mapped to.
                                clientSecret:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    client secret will be mapped to.
                              required:
                                - clientId
                                - clientSecret
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - ldap
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - ldap-password
                            parameters:
                              type: object
                              properties:
                                dn:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The Distinguished Name (DN) or User
                                    Principal Name (UPN) of the principal to
                                    rotate the password for.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                                rotationMethod:
                                  type: string
                                  enum:
                                    - connection-principal
                                    - target-principal
                                  description: >-
                                    Whether the rotation should be performed by
                                    the LDAP "connection-principal" or the
                                    "target-principal" (defaults to
                                    'connection-principal').
                              required:
                                - dn
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                dn:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the
                                    Distinguished Name (DN) or User Principal
                                    Name (UPN) of the principal will be mapped
                                    to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    password will be mapped to.
                              required:
                                - dn
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - aws
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - aws-iam-user-secret
                            parameters:
                              type: object
                              properties:
                                userName:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the client to rotate credentials
                                    for.
                                region:
                                  type: string
                                  enum:
                                    - us-east-1
                                    - us-east-2
                                    - us-west-1
                                    - us-west-2
                                    - us-gov-east-1
                                    - us-gov-west-1
                                    - af-south-1
                                    - ap-east-1
                                    - ap-south-1
                                    - ap-south-2
                                    - ap-northeast-1
                                    - ap-northeast-2
                                    - ap-northeast-3
                                    - ap-southeast-1
                                    - ap-southeast-2
                                    - ap-southeast-3
                                    - ap-southeast-4
                                    - ca-central-1
                                    - eu-central-1
                                    - eu-central-2
                                    - eu-west-1
                                    - eu-west-2
                                    - eu-west-3
                                    - eu-south-1
                                    - eu-south-2
                                    - eu-north-1
                                    - me-south-1
                                    - me-central-1
                                    - sa-east-1
                                  description: The AWS region the client is present in.
                              required:
                                - userName
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                accessKeyId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the access key
                                    ID will be mapped to.
                                secretAccessKey:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    secret access key will be mapped to.
                              required:
                                - accessKeyId
                                - secretAccessKey
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - okta
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - okta-client-secret
                            parameters:
                              type: object
                              properties:
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The ID of the Okta Application to rotate the
                                    client secret for.
                              required:
                                - clientId
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the client ID
                                    will be mapped to.
                                clientSecret:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    client secret will be mapped to.
                              required:
                                - clientId
                                - clientSecret
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - redis
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - redis-credentials
                            parameters:
                              type: object
                              properties:
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                                permissionScope:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The ACL permission scope to assign to the
                                    issued Redis users.
                              required:
                                - permissionScope
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the username
                                    will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - mongodb
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - mongodb-credentials
                            parameters:
                              type: object
                              properties:
                                username1:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the first login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                                username2:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the second login to rotate
                                    passwords for. This user must already exists
                                    in your database.
                              required:
                                - username1
                                - username2
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the active
                                    username will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the generated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - databricks
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - databricks-service-principal-secret
                            parameters:
                              type: object
                              properties:
                                servicePrincipalId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The ID of the Databricks Service Principal
                                    to rotate the OAuth secret for.
                                servicePrincipalName:
                                  type: string
                                  description: >-
                                    The name of the Databricks Service Principal
                                    to rotate the OAuth secret for.
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The client ID of the Databricks Service
                                    Principal to rotate the OAuth secret for.
                              required:
                                - servicePrincipalId
                                - clientId
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                clientId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the client ID
                                    will be mapped to.
                                clientSecret:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    OAuth client secret will be mapped to.
                              required:
                                - clientId
                                - clientSecret
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - ssh
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - unix-linux-local-account
                            parameters:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the Unix/Linux user account
                                    to rotate the password for.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                                rotationMethod:
                                  type: string
                                  enum:
                                    - login-as-target
                                    - login-as-root
                                  description: >-
                                    Whether the rotation should be performed
                                    using "login-as-target" (the target user's
                                    own credentials) or "login-as-root" (the SSH
                                    connection's admin credentials). Defaults to
                                    "login-as-target".
                                useSudo:
                                  type: boolean
                                  default: true
                                  description: >-
                                    If true, uses sudo when executing the
                                    password rotation command. Defaults to
                                    false.
                              required:
                                - username
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the username
                                    will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - dbt
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - dbt-service-token
                            parameters:
                              type: object
                              properties:
                                tokenName:
                                  type: string
                                  minLength: 1
                                  maxLength: 255
                                  description: The name of the service token to create.
                                permissionGrants:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      permissionSet:
                                        type: string
                                        enum:
                                          - account_admin
                                          - account_viewer
                                          - admin
                                          - analyst
                                          - billing_admin
                                          - cost_insights_admin
                                          - cost_insights_viewer
                                          - cost_management_admin
                                          - cost_management_viewer
                                          - database_admin
                                          - developer
                                          - fusion_admin
                                          - git_admin
                                          - job_admin
                                          - job_runner
                                          - job_viewer
                                          - manage_marketplace_apps
                                          - member
                                          - metadata_only
                                          - owner
                                          - project_creator
                                          - readonly
                                          - scim_only
                                          - security_admin
                                          - semantic_layer_only
                                          - stakeholder
                                          - team_admin
                                          - webhooks_only
                                      projectId:
                                        type: number
                                    required:
                                      - permissionSet
                                    additionalProperties: false
                                  minItems: 1
                                  description: >-
                                    The permission grants to apply to the
                                    service token.
                              required:
                                - tokenName
                                - permissionGrants
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                serviceToken:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the service
                                    token will be mapped to.
                              required:
                                - serviceToken
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - smb
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - windows-local-account
                            parameters:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  maxLength: 20
                                  description: >-
                                    The username of the Windows user account to
                                    rotate the password for.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                                rotationMethod:
                                  type: string
                                  enum:
                                    - login-as-target
                                    - login-as-root
                                  description: >-
                                    Whether the rotation should be performed
                                    using "login-as-target" (the target user's
                                    own credentials) or "login-as-root" (the SSH
                                    connection's admin credentials). Defaults to
                                    "login-as-target".
                              required:
                                - username
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the username
                                    will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - open-router
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - open-router-api-key
                            parameters:
                              type: object
                              properties:
                                name:
                                  type: string
                                  minLength: 1
                                  maxLength: 100
                                  description: >-
                                    The name for the generated OpenRouter API
                                    key.
                                limit:
                                  type: number
                                  exclusiveMinimum: true
                                  minimum: 0
                                  nullable: true
                                  description: >-
                                    The optional spending limit in USD for the
                                    generated API key.
                                limitReset:
                                  type: string
                                  enum:
                                    - daily
                                    - weekly
                                    - monthly
                                  nullable: true
                                  description: >-
                                    The type of limit reset for the API key
                                    (daily, weekly, monthly, or null for no
                                    reset).
                                includeByokInLimit:
                                  type: boolean
                                  nullable: true
                                  description: >-
                                    Whether to include BYOK (Bring Your Own Key)
                                    usage in the spending limit. When enabled,
                                    usage from your own provider keys counts
                                    toward this key's limit. See OpenRouter BYOK
                                    docs for details.
                              required:
                                - name
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                apiKey:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    OpenRouter API key will be mapped to.
                              required:
                                - apiKey
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - ssh
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - hp-ilo-local-account
                            parameters:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The username of the HP iLO account to rotate
                                    the password for.
                                passwordRequirements:
                                  type: object
                                  properties:
                                    length:
                                      type: number
                                      minimum: 1
                                      maximum: 250
                                      description: The length of the password to generate.
                                    required:
                                      type: object
                                      properties:
                                        digits:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of digits to require in the
                                            generated password.
                                        lowercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of lowercase characters to
                                            require in the generated password.
                                        uppercase:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of uppercase characters to
                                            require in the generated password.
                                        symbols:
                                          type: number
                                          minimum: 0
                                          description: >-
                                            The amount of symbols to require in the
                                            generated password.
                                      required:
                                        - digits
                                        - lowercase
                                        - uppercase
                                        - symbols
                                      additionalProperties: false
                                    allowedSymbols:
                                      type: string
                                      pattern: '[!@#$%^&*()_+\-=\[\]{};'':"\\|,.<>\/?~]'
                                      description: >-
                                        The allowed symbols to use in the
                                        generated password (defaults to
                                        "-_.~!*").
                                  required:
                                    - length
                                    - required
                                  additionalProperties: false
                                  description: >-
                                    The password requirements to use when
                                    generating the new password.
                                rotationMethod:
                                  type: string
                                  enum:
                                    - login-as-target
                                    - login-as-root
                                  description: >-
                                    Whether the rotation should be performed
                                    using "login-as-target" (the target user's
                                    own credentials) or "login-as-root" (the SSH
                                    connection's admin credentials). Defaults to
                                    "login-as-root".
                              required:
                                - username
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                username:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the username
                                    will be mapped to.
                                password:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    password will be mapped to.
                              required:
                                - username
                                - password
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - supabase
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - supabase-api-key
                            parameters:
                              type: object
                              properties:
                                projectRef:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The reference ID of the Supabase project to
                                    rotate the API key for.
                                keyType:
                                  type: string
                                  enum:
                                    - publishable
                                    - secret
                                  description: >-
                                    The type of the API key to rotate (e.g.
                                    publishable, secret).
                              required:
                                - projectRef
                                - keyType
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                apiKey:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    Supabase API key will be mapped to.
                              required:
                                - apiKey
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - salesforce
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - salesforce-oauth-credentials
                            parameters:
                              type: object
                              properties:
                                appId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The identifier of the Salesforce External
                                    Client App to rotate the consumer secret
                                    for.
                                appName:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The developer name of the Salesforce
                                    External Client App to rotate the consumer
                                    secret for.
                              required:
                                - appId
                                - appName
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                consumerKey:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    Salesforce consumer key will be mapped to.
                                consumerSecret:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    Salesforce consumer secret will be mapped
                                    to.
                              required:
                                - consumerKey
                                - consumerSecret
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                        - type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            description:
                              type: string
                              nullable: true
                            isAutoRotationEnabled:
                              type: boolean
                              default: true
                            activeIndex:
                              type: number
                              default: 0
                            folderId:
                              type: string
                              format: uuid
                            connectionId:
                              type: string
                              format: uuid
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            rotationInterval:
                              type: number
                            rotationStatus:
                              type: string
                            lastRotationAttemptedAt:
                              type: string
                              format: date-time
                            lastRotatedAt:
                              type: string
                              format: date-time
                            lastRotationJobId:
                              type: string
                              nullable: true
                            nextRotationAt:
                              type: string
                              format: date-time
                              nullable: true
                            isLastRotationManual:
                              type: boolean
                              default: true
                            connection:
                              type: object
                              properties:
                                app:
                                  type: string
                                  enum:
                                    - datadog
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - app
                                - name
                                - id
                              additionalProperties: false
                            environment:
                              type: object
                              properties:
                                slug:
                                  type: string
                                name:
                                  type: string
                                id:
                                  type: string
                                  format: uuid
                              required:
                                - slug
                                - name
                                - id
                              additionalProperties: false
                            projectId:
                              type: string
                            folder:
                              type: object
                              properties:
                                id:
                                  type: string
                                path:
                                  type: string
                              required:
                                - id
                                - path
                              additionalProperties: false
                            rotateAtUtc:
                              type: object
                              properties:
                                hours:
                                  type: number
                                  minimum: 0
                                  maximum: 23
                                minutes:
                                  type: number
                                  minimum: 0
                                  maximum: 59
                              required:
                                - hours
                                - minutes
                              additionalProperties: false
                            lastRotationMessage:
                              type: string
                              nullable: true
                            type:
                              type: string
                              enum:
                                - datadog-application-key-secret
                            parameters:
                              type: object
                              properties:
                                serviceAccountId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The ID of the Datadog service account to
                                    rotate the application key for.
                              required:
                                - serviceAccountId
                              additionalProperties: false
                            secretsMapping:
                              type: object
                              properties:
                                applicationKeyId:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    Datadog application key ID will be mapped
                                    to.
                                applicationKey:
                                  type: string
                                  minLength: 1
                                  description: >-
                                    The name of the secret that the rotated
                                    Datadog application key value will be mapped
                                    to.
                              required:
                                - applicationKeyId
                                - applicationKey
                              additionalProperties: false
                          required:
                            - id
                            - name
                            - folderId
                            - connectionId
                            - createdAt
                            - updatedAt
                            - rotationInterval
                            - rotationStatus
                            - lastRotationAttemptedAt
                            - lastRotatedAt
                            - connection
                            - environment
                            - projectId
                            - folder
                            - rotateAtUtc
                            - type
                            - parameters
                            - secretsMapping
                          additionalProperties: false
                required:
                  - secretRotations
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                  error:
                    type: string
                  details: {}
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                  details: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 422
                  message: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 500
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false

````