Configuring Poetry
Point Poetry at the Seal Artifact Server using poetry source add.
Poetry configures package sources through the poetry source command. Adding Seal as the default source is a one-line operation.
Configuration
From the project root:
poetry source add --default seal https://<project-id>:<token>@pypi.sealsecurity.io/simpleReplace <project-id> with the Seal Project ID and <token> with your production token. The credentials ride in the URL's userinfo block.
This writes the source to the project's pyproject.toml. Commit the change so the configuration is version-controlled with the manifest.
Verify
poetry config repositoriesThe output should list seal with the pypi.sealsecurity.io URL. A poetry install then resolves packages from that source.
Related
Editing dependency files manually: pinning sealed versions in
pyproject.toml.Configuring pip: the pip equivalent for the same ecosystem.
Last updated