Skip to content

feat: Add allowing retrieving all fields for an item #1567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

capripot
Copy link

@capripot capripot commented May 23, 2025

With 1Password, there is a way to retrieve all fields of a given item directly without having to enumerate them.

Allowing this when passing no arguments for secrets fetch command.

For example:

kamal secrets fetch --adapter 1password --account ABCD1234 --from Vault/myitem

would return the expected same JSON.

That can be particularly useful when you are not using rails credentials and have a lot of keys set in .kamal/secrets.

That would also allow the current example to shorten:

SECRETS=$(kamal secrets fetch --adapter 1password --account my-account --from MyVault/MyItem)
KAMAL_REGISTRY_PASSWORD=$(kamal secrets extract KAMAL_REGISTRY_PASSWORD $SECRETS)
RAILS_MASTER_KEY=$(kamal secrets extract RAILS_MASTER_KEY $SECRETS)

With 1Password, there is a way to retrieve all fields
of a given item directly without having to enumerate them.

Allowing this when passing no arguments for secrets fetch
command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant