---
title: "List Package Manager Auth Configs"
method: GET
path: "/api/agent/deployments/{deploymentId}/packagemanagerauthconfigs"
tags: ["SmsPackageManagerConfigService"]
---

# List Package Manager Auth Configs

`GET /api/agent/deployments/{deploymentId}/packagemanagerauthconfigs`

Retrieve all package manager authentication configurations for a deployment.

## Path parameters

- `deploymentId` integer, required — The unique identifier for the deployment.

## Response `200`

OK

- ProtosSmsV2GetPackageManagerAuthConfigsResponse
  - `packageManagerConfigsWithCredentials` ProtosSmsV2PackageManagerConfigWithCredentials[] — List of package manager configurations with their encrypted credentials.
    - `config` ProtosSmsV2PackageManagerConfig — Represents properties of the PackageManagerConfig model without the credentials
      - `id` integer — The unique identifier for the package manager configuration.
      - `name` string — A human-readable name for the package manager configuration.
      - `url` string — The URL of the package manager repository.
      - `requiresAuth` boolean — Whether this package manager repository requires authentication.
      - `ecosystem` 'no_package_manager' | 'npm' | 'pypi' | 'gomod' | 'cargo' | 'maven' | 'gem' | 'composer' | 'nuget' | 'pub' | 'swiftpm' | 'hex' | 'cocoapods' | 'mix' | 'opam', enum — The package manager ecosystem (e.g., Maven, PyPI). | value | description | |-------|---------------| | no_package_manager | | | npm | | | pypi | | | gomod | | | cargo | | | maven | | | gem | | | composer | | | nuget | | | pub | | | swiftpm | | | hex | | | cocoapods | | | mix | | | opam | |
      - `deploymentId` integer — The unique identifier for the deployment this configuration belongs to.
      - `useNetworkBroker` boolean — Whether or not requests to this package registry should be routed through the network broker.
      - `additionalConfig` ProtosSmsV2AdditionalConfig
        - `maven` ProtosSmsV2MavenConfig
          - `repositoryType` 'MAVEN_REPOSITORY_TYPE_RELEASE' | 'MAVEN_REPOSITORY_TYPE_SNAPSHOT' | 'MAVEN_REPOSITORY_TYPE_BOTH', enum — Specifies whether this Maven repository serves release artifacts, snapshot artifacts, or both. | value | description | |-------|---------------| | MAVEN_REPOSITORY_TYPE_RELEASE | | | MAVEN_REPOSITORY_TYPE_SNAPSHOT | | | MAVEN_REPOSITORY_TYPE_BOTH | |
        - `pypi` ProtosSmsV2PypiConfig
        - `npm` ProtosSmsV2NpmConfig
          - `scope` string — npm scope this registry serves (e.g. @my-org). Optional; omit for a default registry.
    - `credentials` ProtosEncryptionV1EncryptedValueDictMessage
      - `nonce` string — see class EncryptedValueDict in server/semgrep_app/util/encryption.py
      - `ciphertext` string
      - `tag` string
      - `keyVersion` string

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/revisions/6483eeecd582/schema)
