Repository: Infisical/infisical
File: backend/src/lib/api-docs/constants.ts (TypeScript)

Code before:
      namespace: "The Hashicrop Vault namespace to connect with.",
      accessToken: "The access token used to connect with Hashicorp Vault.",
      roleId: "The Role ID used to connect with Hashicorp Vault.",
      secretId: "The Secret ID used to connect with Hashicorp Vault."
    },
    LDAP: {
      provider: "The type of LDAP provider. Determines provider-specific behaviors.",
      url: "The LDAP/LDAPS URL to connect to (e.g., 'ldap://domain-or-ip:389' or 'ldaps://domain-or-ip:636').",
      dn: "The Distinguished Name (DN) or User Principal Name (UPN) of the principal to bind with (e.g., 'CN=John,CN=Users,DC=example,DC=com').",
      password: "The password to bind with for authentication.",
      sslRejectUnauthorized:
        "Whether or not to reject unauthorized SSL certificates (true/false) when using ldaps://. Set to false only in test environments.",
      sslCertificate:
        "The SSL certificate (PEM format) to use for secure connection when using ldaps:// with a self-signed certificate."
    },
    TEAMCITY: {
      instanceUrl: "The TeamCity instance URL to connect with.",
      accessToken: "The access token to use to connect with TeamCity."
    },
    AZURE_CLIENT_SECRETS: {
      code: "The OAuth code to use to connect with Azure Client Secrets.",
      tenantId: "The Tenant ID to use to connect with Azure Client Secrets.",
      clientId: "The Client ID to use to connect with Azure Client Secrets.",
      clientSecret: "The Client Secret to use to connect with Azure Client Secrets.",
      certificate: "The certificate to use to connect with Azure Client Secrets.",
      privateKey:
        "The private key to use to connect with Azure Client Secrets. This is never transmitted to Azure and is only used to sign the Azure client assertion with."
    },
    AZURE_DEVOPS: {
      code: "The OAuth code to use to connect with Azure DevOps.",
      tenantId: "The Tenant ID to use to connect with Azure DevOps.",
      orgName: "The Organization name to use to connect with Azure DevOps.",
      clientId: "The Client ID to use to connect with Azure Client Secrets.",
      clientSecret: "The Client Secret to use to connect with Azure Client Secrets."
    },
    OCI: {
      userOcid: "The OCID (Oracle Cloud Identifier) of the user making the request.",
      tenancyOcid: "The OCID (Oracle Cloud Identifier) of the tenancy in Oracle Cloud Infrastructure.",
      region: "The region identifier in Oracle Cloud Infrastructure where the vault is located.",
      fingerprint: "The fingerprint of the public key uploaded to the user's API keys.",
      privateKey: "The private key content in PEM format used to sign API requests."
    },
    ONEPASS: {
      instanceUrl: "The URL of the 1Password Connect Server instance to authenticate with.",
      apiToken: "The API token used to access the 1Password Connect Server."
    },
    FLYIO: {
      accessToken: "The Access Token used to access fly.io."
    },
    GITLAB: {
      instanceUrl: "The GitLab instance URL to connect with.",

Review comment (security):
Ignore comment placement

When editing the credentials it's not getting correctly the tenant ID
<img width="1398" height="1294" alt="CleanShot 2025-11-06 at 10 38 39@2x" src="https://github.com/user-attachments/assets/e2e2315c-575a-4c78-bcea-b71bc0f718b4" />


Code after:
      namespace: "The Hashicrop Vault namespace to connect with.",
      accessToken: "The access token used to connect with Hashicorp Vault.",
      roleId: "The Role ID used to connect with Hashicorp Vault.",
      secretId: "The Secret ID used to connect with Hashicorp Vault."
    },
    LDAP: {
      provider: "The type of LDAP provider. Determines provider-specific behaviors.",
      url: "The LDAP/LDAPS URL to connect to (e.g., 'ldap://domain-or-ip:389' or 'ldaps://domain-or-ip:636').",
      dn: "The Distinguished Name (DN) or User Principal Name (UPN) of the principal to bind with (e.g., 'CN=John,CN=Users,DC=example,DC=com').",
      password: "The password to bind with for authentication.",
      sslRejectUnauthorized:
        "Whether or not to reject unauthorized SSL certificates (true/false) when using ldaps://. Set to false only in test environments.",
      sslCertificate:
        "The SSL certificate (PEM format) to use for secure connection when using ldaps:// with a self-signed certificate."
    },
    TEAMCITY: {
      instanceUrl: "The TeamCity instance URL to connect with.",
      accessToken: "The access token to use to connect with TeamCity."
    },
    AZURE_CLIENT_SECRETS: {
      code: "The OAuth code to use to connect with Azure Client Secrets.",
      tenantId: "The Tenant ID to use to connect with Azure Client Secrets.",
      clientId: "The Client ID to use to connect with Azure Client Secrets.",
      clientSecret: "The Client Secret to use to connect with Azure Client Secrets.",
      certificateBody: "The certificate body in PEM format to use to connect with Azure Client Secrets.",
      privateKey:
        "The private key to use to connect with Azure Client Secrets. This is never transmitted to Azure and is only used to sign the Azure client assertion with."
    },
    AZURE_DEVOPS: {
      code: "The OAuth code to use to connect with Azure DevOps.",
      tenantId: "The Tenant ID to use to connect with Azure DevOps.",
      orgName: "The Organization name to use to connect with Azure DevOps.",
      clientId: "The Client ID to use to connect with Azure Client Secrets.",
      clientSecret: "The Client Secret to use to connect with Azure Client Secrets."
    },
    OCI: {
      userOcid: "The OCID (Oracle Cloud Identifier) of the user making the request.",
      tenancyOcid: "The OCID (Oracle Cloud Identifier) of the tenancy in Oracle Cloud Infrastructure.",
      region: "The region identifier in Oracle Cloud Infrastructure where the vault is located.",
      fingerprint: "The fingerprint of the public key uploaded to the user's API keys.",
      privateKey: "The private key content in PEM format used to sign API requests."
    },
    ONEPASS: {
      instanceUrl: "The URL of the 1Password Connect Server instance to authenticate with.",
      apiToken: "The API token used to access the 1Password Connect Server."
    },
    FLYIO: {
      accessToken: "The Access Token used to access fly.io."
    },
    GITLAB: {
      instanceUrl: "The GitLab instance URL to connect with.",