Skip to main content

1Password secret adapter for Fujin

Project description

Fujin Secrets - 1Password

1Password secret adapter for Fujin deployment tool.

Installation

pip install fujin-secrets-1password

Or with uv:

uv pip install fujin-secrets-1password

Prerequisites

Download and install the 1Password CLI and sign in to your account.

You need to be actively signed in for Fujin to work with 1Password.

Configuration

Add the following to your fujin.toml file:

[secrets]
adapter = "1password"

Usage

In your environment file (.env or configured via envfile in fujin.toml), use 1Password secret references:

DEBUG=False
AWS_ACCESS_KEY_ID=$op://personal/aws-access-key-id/password
AWS_SECRET_ACCESS_KEY=$op://personal/aws-secret-access-key/password

The secret reference format is: $op://vault/item/field

How it Works

The adapter:

  1. Uses the existing 1Password CLI session (requires you to be signed in)
  2. Resolves all secrets concurrently using op read <reference>
  3. Returns the resolved environment variables

Related

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fujin_secrets_1password-0.17.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fujin_secrets_1password-0.17.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file fujin_secrets_1password-0.17.0.tar.gz.

File metadata

File hashes

Hashes for fujin_secrets_1password-0.17.0.tar.gz
Algorithm Hash digest
SHA256 6b9502e6feb729ea752957eeee9e75e34ce4e51462f5dcfd16d39120501ca6ab
MD5 005530fd653a898be251e5421ba95fc8
BLAKE2b-256 2b922cf101a6c3d7ec9996e376ee4523aaedeb09f6b4f28665129d26bbb9bba6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.17.0.tar.gz:

Publisher: publish.yml on Tobi-De/fujin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fujin_secrets_1password-0.17.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fujin_secrets_1password-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fea15fff008a7a140b963c9c541ebee903f73371c3ebe7046138ba9b38f3817
MD5 e519195a3353c5fcf6eab02a4f73ccfb
BLAKE2b-256 3b831f6f0bfb48a3ed287e449d6c62c99de461b8a051b483856e8b95ed751ade

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.17.0-py3-none-any.whl:

Publisher: publish.yml on Tobi-De/fujin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page