This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds docs for Pulumi ESC 1Password provider (#4055)
* wip * local serve + lint checks --------- Co-authored-by: diana esteves <[email protected]>
- Loading branch information
Showing
3 changed files
with
102 additions
and
11 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
themes/default/content/docs/esc/providers/1password-secrets.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
title_tag: 1password-secrets Pulumi ESC Provider | ||
meta_desc: The `1password-secrets` provider enables you to dynamically import Secrets from 1Password into your Environment. | ||
title: 1password-secrets | ||
h1: 1password-secrets | ||
meta_image: /images/docs/meta-images/docs-meta.png | ||
menu: | ||
pulumiesc: | ||
identifier: 1password-secrets | ||
parent: esc-providers | ||
weight: 1 | ||
aliases: | ||
- /docs/pulumi-cloud/esc/providers/1password-secrets/ | ||
--- | ||
|
||
The `1password-secrets` provider enables you to dynamically import Secrets from 1Password into your Environment. The provider will return a map of names to Secrets. | ||
|
||
{{% notes type="warning" %}} | ||
This provider is currently in **preview**. | ||
{{% /notes %}} | ||
|
||
## Example | ||
|
||
```yaml | ||
1password: | ||
secrets: | ||
fn::open::1password-secrets: | ||
login: | ||
serviceAccountToken: | ||
fn::secret: "ops_123ABC" | ||
get: | ||
email_section_example: | ||
ref: "op://Management/PagerDuty/Admin/email" | ||
anna_sans_section_example: | ||
ref: "op://dev/Stripe/publishable-key" | ||
olaf_attr_example: | ||
ref: "op://development/GitHub/Security/one-time password?attribute=otp" | ||
sven_ssh_example: | ||
ref: "op://Private/ssh keys/ssh key/private key?ssh-format=openssh" | ||
nokk_whitespace_example: | ||
ref: "op://development/aws/Access Keys/access_key_id" | ||
gale_unique_id_example: | ||
ref: "op://prod/yj3jfj2vzsbiwqabprflnl27lm/password" | ||
``` | ||
## Inputs | ||
| Property | Type | Description | | ||
|----------|--------------------------------------------------------|-------------------------------------------| | ||
| `login` | [1PasswordSecretsLogin](#1passwordsecretslogin) | Credentials used to log in to 1Password. | | ||
| `get` | map[string][1PasswordSecretsGet](#1passwordsecretsget) | The secrets to get. | | ||
|
||
### 1PasswordSecretsLogin | ||
|
||
| Property | Type | Description | | ||
|-----------------------|--------|-------------------------------------------------------------------------------| | ||
| `serviceAccountToken` | string | The service account token to use for authentication.. | | ||
|
||
### 1PasswordSecretsGet | ||
|
||
| Property | Type | Description | | ||
|----------|--------|----------------------------------------------| | ||
| `ref` | string | A [reference to a secret](https://developer.1password.com/docs/cli/secrets-reference-syntax) of the form `op://vault-name/item-name/[section-name/]field-name` to read from 1Password. | | ||
|
||
### Outputs | ||
|
||
| Property | Type | Description | | ||
|----------|--------|------------------------------------| | ||
| N/A | object | A map from names to secret values. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters