GitPedia
1Password

1Password/terraform-provider-onepassword

Use the 1Password Terraform Provider to reference, create, or update items in your 1Password Vaults.

30 Releases
Latest: 3mo ago
v3.3.1Latest
github-actions[bot]github-actions[bot]Β·3mo agoΒ·March 19, 2026
GitHub

πŸ”’ Security

  • Update `google.golang.org/grpc` to v1.79.3 to address an authorization bypass reported by Dependabot. {#346}
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.3.0...v3.3.1
v3.3.0
github-actions[bot]github-actions[bot]Β·3mo agoΒ·March 12, 2026
GitHub

✨ Features

  • Provider adds `onepassword_environment` datasource for reading environment variables from 1Password Environments (service account or desktop app auth only). {#302}

πŸ› Fixes

  • Provider removes fallback to listing vaults when `GetOverview` fails; this workaround is no longer needed with the stable SDK. {#339}
  • Replace slash-command-dispatch fork with upstream v5 in the ok-to-test workflow. {#338}
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.2.1...v3.3.0
v3.2.1
github-actions[bot]github-actions[bot]Β·4mo agoΒ·February 10, 2026
GitHub

πŸ› Fixes

  • `onepassword-sdk-go` dependecy is updated to the latest stable v0.4.0. {#333}
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.2.0...v3.2.1
v3.2.0
github-actions[bot]github-actions[bot]Β·4mo agoΒ·February 3, 2026
GitHub

✨ Features

  • Provider supports ephemeral `onepassword_item` for retrieving item values without persisting them in state. {#212}

✨ New Contributors

  • @BlackHoleFox made their first contribution in https://github.com/1Password/terraform-provider-onepassword/pull/328
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.1.2...v3.2.0
v3.1.2
github-actions[bot]github-actions[bot]Β·5mo agoΒ·January 20, 2026
GitHub

πŸ› Fixes

  • Provider now falls back to listing vaults when `GetOverview` fails with "enum Invocation" error for SDK. {#310}
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.1.1...v3.1.2
v3.1.1
github-actions[bot]github-actions[bot]Β·5mo agoΒ·January 15, 2026
GitHub

πŸ› Fixes

  • Provider properly handles dynamic sections. {#319}
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.1.0...v3.1.1
v3.1.0
github-actions[bot]github-actions[bot]Β·5mo agoΒ·January 14, 2026
GitHub

✨ Features

  • Provider supports `section_map` and `field_map` attributes for organizing sections and fields in items. {#316}
  • Provider supports `filename` and `valid_from` attributes to item data source for API Credential items. {#210}
  • Provider supports `note_value_wo` attribute to item resource for write-only secure note values. {#304}

πŸ› Fixes

  • Provider validates that `password_recipe` and `value` cannot be used together in the same field. {#314}
  • `MONTH_YEAR` field type now enforces YYYYMM format to avoid state inconsistencies. {#311}

✨ New Contributors

  • @speto made their first contribution in https://github.com/1Password/terraform-provider-onepassword/pull/210
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.0.2...v3.1.0
v3.0.2
github-actions[bot]github-actions[bot]Β·5mo agoΒ·January 6, 2026
GitHub

πŸ› Fixes

  • Docs are updated to not mention specific provider version. {#297}
  • `purpose` property is removed from the section field. {#251}
  • Item data source correctly fetches the item with provided vault name when using service account or account to authenticate. {#306}
  • Provider automatically retries Create/Update/Delete operations when vault version conflicts occur. {#222}

✨ Features

  • Add new resource item field `password_wo` {#229}

✨ New Contributors

  • @tbarthel-fr made their first contribution in https://github.com/1Password/terraform-provider-onepassword/pull/229
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.0.1...v3.0.2
v3.0.1
github-actions[bot]github-actions[bot]Β·6mo agoΒ·December 16, 2025
GitHub

πŸ› Fixes

  • Provider produces consistent results after apply. {#223, #170}
  • Database item doesn't throw an error anymore. {#215}
  • Provider doesn't throw an error for sensitive attibutes. {#185}
  • SSH private keys in OpenSSH format are properly handled. {#286}
  • Provider reads API credential items correctly. {#287}
  • Provider properly handles string values in sections. {#214}
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v3.0.0...v3.0.1
v3.0.0
github-actions[bot]github-actions[bot]Β·6mo agoΒ·December 4, 2025
GitHub

πŸ’₯ πŸ”΄ Breaking Changes

  • Remove `letters` option from password recipes. Letters are now always included in generated passwords and cannot be disabled. Configurations using `letters` in `password_recipe` will result in an error. {#256}
  • The `account` field should now be set to the account name. Account name appears at the top of the left sidebar in the 1Password desktop app.
  • Users who use biometric authentication should configure 1Password desktop app. {#270}

✨ Features

  • Enable provider to run using Terraform Stacks on HCP Terraform with a self-hosted agent. {#227}
  • Enable provider to run on Terraform Cloud. {#141}
  • `connect_url` and `connect_token` configuration parameters are available now. These are more specific alternatives to `url` and `token` for Connect authentication. The original `url` and `token` parameters continue to be supported but are set for deprecation. {#265}

πŸ› Fixes

  • `1password cli` is not required anymore to use the provider. {#148, #206}
  • Biometric unlock doesn't pop up multiple times anymore. {#140, #130}
  • Provider re-creates item when it's missing in 1Password vault. {#97}
  • No 504 Gateway Timeout errors anymore for newly created items. {#5}
  • Fix field reference from `label` to `id` for item data source. {#213}
  • `password_recipe` properly generates passwords now. {#129}
  • Testing documentation now includes make commands and setup instructions about how to run e2e tests. {#269}
  • README and documentation now to references to 1Password developer portal for more info. {#266}

πŸ”’ Security

  • Update `golang.org/x/crypto` from 0.39.0 to 0.45.0 to address security vulnerabilities. {#276}
v2.2.1
github-actions[bot]github-actions[bot]Β·7mo agoΒ·November 17, 2025
GitHub

πŸ› Fixes

  • Add testing documentation. {#242}
  • Eventual consistency for Connect client. {#246}
  • Fix eventual consultancy issue in Connect's item get implementation. {#244}
  • Fix item creation with incorrect date when using Connect. {#247}
  • Trimming trailing newline from `op read` command output. {#245}
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v2.2.0...v2.2.1
v2.2.0
github-actions[bot]github-actions[bot]Β·7mo agoΒ·October 27, 2025
GitHub

✨ Features

  • Add `private_key_openssh` property to Item Data Source that returns SSH private key in OpenSSH format. {#189}

πŸ”’ Security

  • Address dependabot alerts and update Go version. {#226}

✨ New Contributors

  • @JillRegan made their first contribution in https://github.com/1Password/terraform-provider-onepassword/pull/230 πŸŽ‰
  • @ZeroErrors made their first contribution in https://github.com/1Password/terraform-provider-onepassword/pull/216 πŸŽ‰
  • Full Changelog: https://github.com/1Password/terraform-provider-onepassword/compare/v2.1.2...v2.2.0
v2.1.2
github-actions[bot]github-actions[bot]Β·1y agoΒ·August 26, 2024
GitHub

πŸ› Fixes

  • Export provider initialization function. {#196}
v2.1.1
github-actions[bot]github-actions[bot]Β·1y agoΒ·August 22, 2024
GitHub

πŸ› Fixes

  • Update Go mod name. {#193}

πŸ”’ Security

  • Update dependencies with security vulnerabilities to patched versions. {#192}
v2.1.0
github-actions[bot]github-actions[bot]Β·2y agoΒ·June 18, 2024
GitHub

✨ Features

  • Add support for Document Item category in item data source. Credits to @sdahlbac for this contribution. {#171}
  • Add support for getting file attachments of an item in item data source. Credits to @sdahlbac for this contribution. {#171}
  • Add support for getting an API Credential item's credential value in item data source. Credits to @SMillerDev for this contribution. {#151}
  • Add support for SSH Key Item category in item data source. Credits to @atammy-narmi for this contribution. {#158}

πŸ› Fixes

  • Set password to null if not set. {#173}
  • Throw a better error message when item creation fails. {#174}
  • Improve examples and documentation. {#174}
v2.0.0
github-actions[bot]github-actions[bot]Β·2y agoΒ·May 15, 2024
GitHub

✨ Features

  • Added support for `Secure Note` items. {#149}
  • Added `note_value` attribute representing a 1Password Item's `notes` field. {#57}

πŸ› Fixes

  • The data handling is more robust, making it less prone to errors and inconsistencies. {#157,#146}
  • CLI and Connect clients now have a more consistent behavior.
  • Fields of type `OTP` are better handled when user provides a custom ID for them. Terraform will throw an error if the custom ID doesn't have the `TOTP_` prefix, which is required for this field type.
  • The values that are generated will only show in the plan to be recomputed when the recipe is changed or the value is explicitly set.
  • When fetching Database items from 1Password, the `server` field (previously known as `hostname`) will populate the Terraform `hostname` attribute. This ensures that the data from new Database items is mapped as expected. {#76}
  • Vault description is now fetched when getting a vault from 1Password by name and the provider was configured to use the CLI client.
  • Generated values (using a recipe) are now regenerated when the recipe is changed.
  • Tag ordering mismatch between Terraform state and 1Password no longer causes a change if the tags are the same. The mismatch can be caused by 1Password storing the tags in alphabetical order. {#155}

πŸ”’ Security

  • Migration to Terraform Provider Framework addressed an issue in the terraform-plugin-sdk where it is possible that sensitive data pulled from 1Password items can be shown in plaintext when a user runs `terraform plan`. This only affects the sensitive data pulled from custom sections within 1Password items that aren’t marked as sensitive in the terraform plan. This also applies to third-party providers that don’t treat the data as sensitive. {#167}
v1.4.3
github-actions[bot]github-actions[bot]Β·2y agoΒ·March 13, 2024
GitHub

πŸ› Fixes

  • Pass proper user agent info to the CLI. {#124}
v1.4.2
github-actions[bot]github-actions[bot]Β·2y agoΒ·February 23, 2024
GitHub

πŸ› Fixes

  • Field of type 'DATE' updates item even if there were no changes. {#137}

πŸ”’ Security

  • Update dependencies with security vulnerabilities to patched versions. {#144}
v1.4.1
github-actions[bot]github-actions[bot]Β·2y agoΒ·January 18, 2024
GitHub

✨ Features

  • Using provider on Terraform Cloud. {#116}

πŸ› Fixes

  • Terraform cannot create items with the password we provide in the code. {#128}
v1.4.1-beta01
github-actions[bot]github-actions[bot]Β·2y agoΒ·December 13, 2023
GitHub

πŸ› Fixes

  • Using provider on Terraform Cloud. {#116}
v1.4.0
github-actions[bot]github-actions[bot]Β·2y agoΒ·December 13, 2023
GitHub

✨ Features

  • Authenticate 1Password CLI with biometric unlock using user account. {#113}

πŸ› Fixes

  • Retry CLI request in case of 409 Conflict error. {#108}
  • Update documentation. {#115}
v1.3.1
github-actions[bot]github-actions[bot]Β·2y agoΒ·December 1, 2023
GitHub

πŸ› Fixes:

  • Update documentation to mention that the provider supports Service Accounts. {#106}
v1.3.0
github-actions[bot]github-actions[bot]Β·2y agoΒ·November 29, 2023
GitHub

✨ Features

  • Add Service Accounts support. Credits to @tim-oster for the contribution! {#79}
  • Add debugging support. {#102}

πŸ”’ Security

  • Update dependencies with security vulnerabilities to patched versions. {#104, #112}
v1.2.1
volodymyrZotovvolodymyrZotovΒ·2y agoΒ·October 18, 2023
GitHub

πŸ› Fixes

  • Fix item creation with sections. {#96}
v1.2.0
github-actions[bot]github-actions[bot]Β·2y agoΒ·July 13, 2023
GitHub

✨ Features

  • Updating to use version 1.5.2 of the Connect SDK.

πŸ› Fixes

  • Improved sanitization for use with Github action.
  • Terraform provider no longer lowercases item label. {59}

πŸ”’ Security

  • Updated dependencies with security vulnerabilities to patched versions
v1.1.4
github-actions[bot]github-actions[bot]Β·4y agoΒ·January 26, 2022
GitHub

πŸ› Fixes

  • Fix (T)OTP field type. {#54}
v1.1.3
github-actions[bot]github-actions[bot]Β·4y agoΒ·October 7, 2021
GitHub

πŸ› Fixes

  • Setting the provider's `token` field through Terraform's built-in prompt no longer leads to an error about the `url` not beign set. {#46}
  • The purpose of the `id` and `uuid` fields of the item and vault data-source is now correctly described in the docs. {#42}
  • The `tags` field for the item data-source is now correctly identified as an output.
v1.1.2
github-actions[bot]github-actions[bot]Β·4y agoΒ·July 12, 2021
GitHub

πŸ› Fixes

  • Improved error message reporting.
v1.1.1
github-actions[bot]github-actions[bot]Β·4y agoΒ·June 24, 2021
GitHub

✨ Features

  • This release includes a binary for `darwin/arm64`. {#35}
v1.1.0
github-actions[bot]github-actions[bot]Β·5y agoΒ·June 8, 2021
GitHub

✨ Features

  • Adds the `onepassword_vault` data source that can be used to look up a vault by its name or uuid. {#25}
  • The `onepassword_item` data source can now be used by setting the `title` instead of the `uuid` field. {#25}
  • The documentation now clearly mentions that the Connect Token can also be provided thorugh `$OP_CONNECT_TOKEN`.

πŸ› Fixes

  • The `id` and `uuid` fields of the `onepassword_item` resource are now correctly designated as outputs.