# Source: https://infisical.com/docs/api-reference/endpoints/universal-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/token-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/tls-cert-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secrets/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-tags/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/zabbix/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/windmill/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/vercel/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/terraform-cloud/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/teamcity/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/supabase/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/render/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/railway/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/octopus-deploy/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/oci-vault/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/northflank/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/netlify/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/laravel-forge/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/humanitec/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/heroku/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/hashicorp-vault/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/gitlab/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/github/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/gcp-secret-manager/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/flyio/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/digital-ocean-app-platform/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/databricks/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/cloudflare-workers/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/cloudflare-pages/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/circleci/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/chef/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/checkly/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/camunda/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/bitbucket/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/azure-key-vault/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/azure-devops/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/aws-secrets-manager/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/aws-parameter-store/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/1password/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/findings/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/data-sources/gitlab/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/data-sources/github/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/data-sources/bitbucket/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/config/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/windows-local-account/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/unix-linux-local-account/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/redis-credentials/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/postgres-credentials/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/oracledb-credentials/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/okta-client-secret/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/mysql-credentials/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/mssql-credentials/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/mongodb-credentials/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/ldap-password/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/databricks-service-principal-secret/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/azure-client-secret/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/aws-iam-user-secret/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/auth0-client-secret/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-imports/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/project-templates/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/project-roles/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/project-groups/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/chef/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/azure-key-vault/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/aws-secrets-manager/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/aws-certificate-manager/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki-alerts/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/organizations/scim/group-org-role-mappings/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/organization-roles/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/oidc-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/oci-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/ldap-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/kubernetes-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/kms/keys/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/jwt-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/identity-specific-privilege/v2/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/identity-specific-privilege/v1/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/identities/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/groups/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/gcp-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/folders/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/environments/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/dynamic-secrets/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/secrets/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/secret-tags/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/secret-imports/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/project-roles/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/project-groups/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/folders/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/environments/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-profiles/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-policies/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-authorities/internal/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-authorities/acme/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/azure-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/aws-auth/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/zabbix/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/windmill/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/vercel/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/terraform-cloud/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/teamcity/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/supabase/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/ssh/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/smb/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/render/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/redis/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/railway/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/postgres/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/oracledb/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/openrouter/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/okta/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/octopus-deploy/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/oci/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/northflank/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/netlify/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/mysql/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/mssql/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/mongodb/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/ldap/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/laravel-forge/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/humanitec/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/heroku/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/hashicorp-vault/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/gitlab/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/github/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/github-radar/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/gcp/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/flyio/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/digital-ocean/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/databricks/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/cloudflare/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/circleci/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/chef/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/checkly/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/camunda/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/bitbucket/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-key-vault/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-devops/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-client-secret/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-app-configuration/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-adcs/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/aws/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/auth0/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/1password/update.md

# Source: https://infisical.com/docs/api-reference/endpoints/alicloud-auth/update.md

> ## 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.

# Update

> Update Alibaba Cloud Auth configuration on machine identity



## OpenAPI

````yaml PATCH /api/v1/auth/alicloud-auth/identities/{identityId}
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/v1/auth/alicloud-auth/identities/{identityId}:
    patch:
      tags:
        - Alibaba Cloud Auth
      description: Update Alibaba Cloud Auth configuration on machine identity
      operationId: updateAlicloudAuth
      parameters:
        - schema:
            type: string
          in: path
          name: identityId
          required: true
          description: The ID of the machine identity to update the auth method for.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                allowedArns:
                  type: string
                  minLength: 1
                  maxLength: 500
                  description: >-
                    The comma-separated list of trusted ARNs that are allowed to
                    authenticate with Infisical.
                accessTokenTrustedIps:
                  type: array
                  items:
                    type: object
                    properties:
                      ipAddress:
                        type: string
                    required:
                      - ipAddress
                    additionalProperties: false
                  minItems: 1
                  description: >-
                    The new IPs or CIDR ranges that access tokens can be used
                    from.
                accessTokenTTL:
                  type: integer
                  minimum: 0
                  maximum: 315360000
                  description: The new lifetime for an access token in seconds.
                accessTokenNumUsesLimit:
                  type: integer
                  minimum: 0
                  description: >-
                    The new maximum number of times that an access token can be
                    used.
                accessTokenMaxTTL:
                  type: integer
                  minimum: 0
                  maximum: 315360000
                  description: The new maximum lifetime for an access token in seconds.
              required:
                - allowedArns
              additionalProperties: false
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  identityAliCloudAuth:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      accessTokenTTL:
                        type: number
                        default: 7200
                      accessTokenMaxTTL:
                        type: number
                        default: 7200
                      accessTokenNumUsesLimit:
                        type: number
                        default: 0
                      accessTokenTrustedIps: {}
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      identityId:
                        type: string
                        format: uuid
                      type:
                        type: string
                      allowedArns:
                        type: string
                    required:
                      - id
                      - createdAt
                      - updatedAt
                      - identityId
                      - type
                      - allowedArns
                    additionalProperties: false
                required:
                  - identityAliCloudAuth
                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
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: An access token in Infisical

````