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.21.2.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.21.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fujin_secrets_1password-0.21.2.tar.gz
Algorithm Hash digest
SHA256 3c6c427b856450d112a369ac10caa417dea4f286fb3814a12a736a8938b214c0
MD5 708918b0e33cd99f6050468b1246509d
BLAKE2b-256 80a0b468ad6ebd6e445c592119ffd5cecc6192215f98645c4b326a54de72a706

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.21.2.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.21.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fujin_secrets_1password-0.21.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b0cb1911d07b82a4d203584430d176da32ead176f7c4520b8e42cffc4d29b6e2
MD5 79062cf9b5006f6530ede5b221e42b52
BLAKE2b-256 b3b863fefa0b885213b68f984aab14d1f99de6e90d16094ff811bf0b2d1043de

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.21.2-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