{
  "name": "onepassword",
  "displayName": "1Password",
  "version": "1.1.4",
  "description": "Use the 1Password Pulumi provider to access and manage items in your 1Password vaults.",
  "keywords": [
    "pulumi",
    "onepassword",
    "1Password",
    "category/cloud"
  ],
  "homepage": "https://www.developer.1password.com",
  "license": "Apache-2.0",
  "attribution": "This Pulumi package is based on the [`onepassword` Terraform Provider](https://github.com/1Password/terraform-provider-onepassword).",
  "repository": "https://github.com/1Password/pulumi-onepassword",
  "logoUrl": "https://1password.com/logo-images/1password-logo-dark@2x.png",
  "pluginDownloadURL": "github://api.github.com/1Password/pulumi-onepassword",
  "publisher": "1Password",
  "meta": {
    "moduleFormat": "(.*)(?:/[^/]*)"
  },
  "language": {
    "csharp": {
      "packageReferences": {
        "Pulumi": "3.*"
      },
      "compatibility": "tfbridge20"
    },
    "go": {
      "importBasePath": "github.com/1Password/pulumi-onepassword/sdk/go/onepassword",
      "generateResourceContainerTypes": true,
      "generateExtraInputTypes": true
    },
    "nodejs": {
      "packageName": "@1password/pulumi-onepassword",
      "packageDescription": "Use the 1Password Pulumi provider to access and manage items in your 1Password vaults.",
      "readme": "> This provider is a derived work of the [Terraform Provider](https://github.com/1Password/terraform-provider-onepassword)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> first check the [`pulumi-onepassword` repo](https://github.com/1Password/pulumi-onepassword/issues); however, if that doesn't turn up anything,\n> please consult the source [`terraform-provider-onepassword` repo](https://github.com/1Password/terraform-provider-onepassword/issues).",
      "dependencies": {
        "@pulumi/pulumi": "^3.0.0"
      },
      "devDependencies": {
        "@types/mime": "^2.0.0",
        "@types/node": "^10.0.0"
      },
      "compatibility": "tfbridge20",
      "disableUnionOutputTypes": true
    },
    "python": {
      "packageName": "pulumi_onepassword",
      "requires": {
        "pulumi": ">=3.0.0,<4.0.0"
      },
      "readme": "> This provider is a derived work of the [Terraform Provider](https://github.com/1Password/terraform-provider-onepassword)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> first check the [`pulumi-onepassword` repo](https://github.com/1Password/pulumi-onepassword/issues); however, if that doesn't turn up anything,\n> please consult the source [`terraform-provider-onepassword` repo](https://github.com/1Password/terraform-provider-onepassword/issues).",
      "compatibility": "tfbridge20",
      "pyproject": {}
    }
  },
  "config": {
    "variables": {
      "account": {
        "type": "string",
        "description": "A valid account's sign-in address or ID to use biometrics unlock. Can also be sourced from `OP_ACCOUNT` environment\nvariable. Provider will use the 1Password CLI if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_ACCOUNT"
          ]
        }
      },
      "opCliPath": {
        "type": "string",
        "description": "The path to the 1Password CLI binary. Can also be sourced from `OP_CLI_PATH` environment variable. Defaults to `op`.\n",
        "defaultInfo": {
          "environment": [
            "OP_CLI_PATH"
          ]
        }
      },
      "serviceAccountToken": {
        "type": "string",
        "description": "A valid 1Password service account token. Can also be sourced from `OP_SERVICE_ACCOUNT_TOKEN` environment variable.\nProvider will use the 1Password CLI if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_SERVICE_ACCOUNT_TOKEN"
          ]
        },
        "secret": true
      },
      "token": {
        "type": "string",
        "description": "A valid token for your 1Password Connect server. Can also be sourced from `OP_CONNECT_TOKEN` environment variable.\nProvider will use 1Password Connect server if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_CONNECT_TOKEN"
          ]
        },
        "secret": true
      },
      "url": {
        "type": "string",
        "description": "The HTTP(S) URL where your 1Password Connect server can be found. Can also be sourced `OP_CONNECT_HOST` environment\nvariable. Provider will use 1Password Connect server if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_CONNECT_HOST"
          ]
        }
      }
    }
  },
  "types": {
    "onepassword:index/ItemPasswordRecipe:ItemPasswordRecipe": {
      "properties": {
        "digits": {
          "type": "boolean",
          "description": "Use digits [0-9] when generating the password.\n"
        },
        "length": {
          "type": "integer",
          "description": "The length of the password to be generated.\n"
        },
        "letters": {
          "type": "boolean",
          "description": "Use letters [a-zA-Z] when generating the password.\n"
        },
        "symbols": {
          "type": "boolean",
          "description": "Use symbols [!@.-_*] when generating the password.\n"
        }
      },
      "type": "object",
      "language": {
        "nodejs": {
          "requiredOutputs": [
            "digits",
            "length",
            "letters",
            "symbols"
          ]
        }
      }
    },
    "onepassword:index/ItemSection:ItemSection": {
      "properties": {
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/types/onepassword:index%2FItemSectionField:ItemSectionField"
          },
          "description": "A list of custom fields in the section.\n"
        },
        "id": {
          "type": "string",
          "description": "A unique identifier for the section.\n"
        },
        "label": {
          "type": "string",
          "description": "The label for the section.\n"
        }
      },
      "type": "object",
      "required": [
        "label"
      ],
      "language": {
        "nodejs": {
          "requiredOutputs": [
            "id",
            "label"
          ]
        }
      }
    },
    "onepassword:index/ItemSectionField:ItemSectionField": {
      "properties": {
        "id": {
          "type": "string",
          "description": "A unique identifier for the field.\n"
        },
        "label": {
          "type": "string",
          "description": "The label for the field.\n"
        },
        "passwordRecipe": {
          "$ref": "#/types/onepassword:index%2FItemSectionFieldPasswordRecipe:ItemSectionFieldPasswordRecipe",
          "description": "The recipe used to generate a new value for a password.\n"
        },
        "purpose": {
          "type": "string",
          "description": "Purpose indicates this is a special field: a username, password, or notes field. One of [\"USERNAME\" \"PASSWORD\" \"NOTES\"]\n"
        },
        "type": {
          "type": "string",
          "description": "The type of value stored in the field. One of [\"STRING\" \"CONCEALED\" \"EMAIL\" \"URL\" \"OTP\" \"DATE\" \"MONTH_YEAR\" \"MENU\"]\n"
        },
        "value": {
          "type": "string",
          "description": "The value of the field.\n",
          "secret": true
        }
      },
      "type": "object",
      "required": [
        "label"
      ],
      "language": {
        "nodejs": {
          "requiredOutputs": [
            "id",
            "label",
            "type",
            "value"
          ]
        }
      }
    },
    "onepassword:index/ItemSectionFieldPasswordRecipe:ItemSectionFieldPasswordRecipe": {
      "properties": {
        "digits": {
          "type": "boolean",
          "description": "Use digits [0-9] when generating the password.\n"
        },
        "length": {
          "type": "integer",
          "description": "The length of the password to be generated.\n"
        },
        "letters": {
          "type": "boolean",
          "description": "Use letters [a-zA-Z] when generating the password.\n"
        },
        "symbols": {
          "type": "boolean",
          "description": "Use symbols [!@.-_*] when generating the password.\n"
        }
      },
      "type": "object",
      "language": {
        "nodejs": {
          "requiredOutputs": [
            "digits",
            "length",
            "letters",
            "symbols"
          ]
        }
      }
    },
    "onepassword:index/getItemFile:getItemFile": {
      "properties": {
        "content": {
          "type": "string",
          "description": "The content of the file.\n",
          "secret": true
        },
        "contentBase64": {
          "type": "string",
          "description": "The content of the file in base64 encoding. (Use this for binary files.)\n",
          "secret": true
        },
        "id": {
          "type": "string",
          "description": "The UUID of the file.\n"
        },
        "name": {
          "type": "string",
          "description": "The name of the file.\n"
        }
      },
      "type": "object",
      "required": [
        "content",
        "contentBase64",
        "id",
        "name"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    },
    "onepassword:index/getItemSection:getItemSection": {
      "properties": {
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/types/onepassword:index%2FgetItemSectionField:getItemSectionField"
          }
        },
        "files": {
          "type": "array",
          "items": {
            "$ref": "#/types/onepassword:index%2FgetItemSectionFile:getItemSectionFile"
          },
          "description": "A list of files attached to the section.\n"
        },
        "id": {
          "type": "string",
          "description": "A unique identifier for the section.\n"
        },
        "label": {
          "type": "string",
          "description": "The label for the section.\n"
        }
      },
      "type": "object",
      "required": [
        "id",
        "label"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    },
    "onepassword:index/getItemSectionField:getItemSectionField": {
      "properties": {
        "id": {
          "type": "string",
          "description": "A unique identifier for the field.\n"
        },
        "label": {
          "type": "string",
          "description": "The label for the field.\n"
        },
        "purpose": {
          "type": "string",
          "description": "Purpose indicates this is a special field: a username, password, or notes field. One of [\"USERNAME\" \"PASSWORD\" \"NOTES\"]\n"
        },
        "type": {
          "type": "string",
          "description": "The type of value stored in the field. One of [\"STRING\" \"CONCEALED\" \"EMAIL\" \"URL\" \"OTP\" \"DATE\" \"MONTH_YEAR\" \"MENU\"]\n"
        },
        "value": {
          "type": "string",
          "description": "The value of the field.\n",
          "secret": true
        }
      },
      "type": "object",
      "required": [
        "id",
        "label",
        "purpose",
        "type",
        "value"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    },
    "onepassword:index/getItemSectionFile:getItemSectionFile": {
      "properties": {
        "content": {
          "type": "string",
          "description": "The content of the file.\n",
          "secret": true
        },
        "contentBase64": {
          "type": "string",
          "description": "The content of the file in base64 encoding. (Use this for binary files.)\n",
          "secret": true
        },
        "id": {
          "type": "string",
          "description": "The UUID of the file.\n"
        },
        "name": {
          "type": "string",
          "description": "The name of the file.\n"
        }
      },
      "type": "object",
      "required": [
        "content",
        "contentBase64",
        "id",
        "name"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    }
  },
  "provider": {
    "description": "The provider type for the onepassword package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n",
    "properties": {
      "account": {
        "type": "string",
        "description": "A valid account's sign-in address or ID to use biometrics unlock. Can also be sourced from `OP_ACCOUNT` environment\nvariable. Provider will use the 1Password CLI if set.\n"
      },
      "opCliPath": {
        "type": "string",
        "description": "The path to the 1Password CLI binary. Can also be sourced from `OP_CLI_PATH` environment variable. Defaults to `op`.\n"
      },
      "serviceAccountToken": {
        "type": "string",
        "description": "A valid 1Password service account token. Can also be sourced from `OP_SERVICE_ACCOUNT_TOKEN` environment variable.\nProvider will use the 1Password CLI if set.\n",
        "secret": true
      },
      "token": {
        "type": "string",
        "description": "A valid token for your 1Password Connect server. Can also be sourced from `OP_CONNECT_TOKEN` environment variable.\nProvider will use 1Password Connect server if set.\n",
        "secret": true
      },
      "url": {
        "type": "string",
        "description": "The HTTP(S) URL where your 1Password Connect server can be found. Can also be sourced `OP_CONNECT_HOST` environment\nvariable. Provider will use 1Password Connect server if set.\n"
      }
    },
    "type": "object",
    "inputProperties": {
      "account": {
        "type": "string",
        "description": "A valid account's sign-in address or ID to use biometrics unlock. Can also be sourced from `OP_ACCOUNT` environment\nvariable. Provider will use the 1Password CLI if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_ACCOUNT"
          ]
        }
      },
      "opCliPath": {
        "type": "string",
        "description": "The path to the 1Password CLI binary. Can also be sourced from `OP_CLI_PATH` environment variable. Defaults to `op`.\n",
        "defaultInfo": {
          "environment": [
            "OP_CLI_PATH"
          ]
        }
      },
      "serviceAccountToken": {
        "type": "string",
        "description": "A valid 1Password service account token. Can also be sourced from `OP_SERVICE_ACCOUNT_TOKEN` environment variable.\nProvider will use the 1Password CLI if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_SERVICE_ACCOUNT_TOKEN"
          ]
        },
        "secret": true
      },
      "token": {
        "type": "string",
        "description": "A valid token for your 1Password Connect server. Can also be sourced from `OP_CONNECT_TOKEN` environment variable.\nProvider will use 1Password Connect server if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_CONNECT_TOKEN"
          ]
        },
        "secret": true
      },
      "url": {
        "type": "string",
        "description": "The HTTP(S) URL where your 1Password Connect server can be found. Can also be sourced `OP_CONNECT_HOST` environment\nvariable. Provider will use 1Password Connect server if set.\n",
        "defaultInfo": {
          "environment": [
            "OP_CONNECT_HOST"
          ]
        }
      }
    }
  },
  "resources": {
    "onepassword:index/item:Item": {
      "description": "A 1Password Item.\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as onepassword from \"@1password/pulumi-onepassword\";\n\nconst example = new onepassword.Item(\"example\", {\n    category: \"login\",\n    passwordRecipe: {\n        length: 40,\n        symbols: false,\n    },\n    sections: [{\n        fields: [{\n            label: \"Example field\",\n            type: \"DATE\",\n            value: \"2024-01-31\",\n        }],\n        label: \"Example section\",\n    }],\n    title: \"Example Item Title\",\n    vault: \"your-vault-id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_onepassword as onepassword\n\nexample = onepassword.Item(\"example\",\n    category=\"login\",\n    password_recipe={\n        \"length\": 40,\n        \"symbols\": False,\n    },\n    sections=[{\n        \"fields\": [{\n            \"label\": \"Example field\",\n            \"type\": \"DATE\",\n            \"value\": \"2024-01-31\",\n        }],\n        \"label\": \"Example section\",\n    }],\n    title=\"Example Item Title\",\n    vault=\"your-vault-id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Onepassword = Pulumi.Onepassword;\n\nreturn await Deployment.RunAsync(() => \n{\n    var example = new Onepassword.Item(\"example\", new()\n    {\n        Category = \"login\",\n        PasswordRecipe = new Onepassword.Inputs.ItemPasswordRecipeArgs\n        {\n            Length = 40,\n            Symbols = false,\n        },\n        Sections = new[]\n        {\n            new Onepassword.Inputs.ItemSectionArgs\n            {\n                Fields = new[]\n                {\n                    new Onepassword.Inputs.ItemSectionFieldArgs\n                    {\n                        Label = \"Example field\",\n                        Type = \"DATE\",\n                        Value = \"2024-01-31\",\n                    },\n                },\n                Label = \"Example section\",\n            },\n        },\n        Title = \"Example Item Title\",\n        Vault = \"your-vault-id\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/1Password/pulumi-onepassword/sdk/go/onepassword\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := onepassword.NewItem(ctx, \"example\", &onepassword.ItemArgs{\n\t\t\tCategory: pulumi.String(\"login\"),\n\t\t\tPasswordRecipe: &onepassword.ItemPasswordRecipeArgs{\n\t\t\t\tLength:  pulumi.Int(40),\n\t\t\t\tSymbols: pulumi.Bool(false),\n\t\t\t},\n\t\t\tSections: onepassword.ItemSectionArray{\n\t\t\t\t&onepassword.ItemSectionArgs{\n\t\t\t\t\tFields: onepassword.ItemSectionFieldArray{\n\t\t\t\t\t\t&onepassword.ItemSectionFieldArgs{\n\t\t\t\t\t\t\tLabel: pulumi.String(\"Example field\"),\n\t\t\t\t\t\t\tType:  pulumi.String(\"DATE\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"2024-01-31\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tLabel: pulumi.String(\"Example section\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTitle: pulumi.String(\"Example Item Title\"),\n\t\t\tVault: pulumi.String(\"your-vault-id\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.onepassword.Item;\nimport com.pulumi.onepassword.ItemArgs;\nimport com.pulumi.onepassword.inputs.ItemPasswordRecipeArgs;\nimport com.pulumi.onepassword.inputs.ItemSectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var example = new Item(\"example\", ItemArgs.builder()\n            .category(\"login\")\n            .passwordRecipe(ItemPasswordRecipeArgs.builder()\n                .length(40)\n                .symbols(false)\n                .build())\n            .sections(ItemSectionArgs.builder()\n                .fields(ItemSectionFieldArgs.builder()\n                    .label(\"Example field\")\n                    .type(\"DATE\")\n                    .value(\"2024-01-31\")\n                    .build())\n                .label(\"Example section\")\n                .build())\n            .title(\"Example Item Title\")\n            .vault(\"your-vault-id\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  example:\n    type: onepassword:Item\n    properties:\n      category: login\n      passwordRecipe:\n        length: 40\n        symbols: false\n      sections:\n        - fields:\n            - label: Example field\n              type: DATE\n              value: 2024-01-31\n          label: Example section\n      title: Example Item Title\n      vault: your-vault-id\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nimport an existing 1Password item\n\n```sh\n$ pulumi import onepassword:index/item:Item myitem vaults/<vault uuid>/items/<item uuid>\n```\n\n",
      "properties": {
        "category": {
          "type": "string",
          "description": "The category of the item. One of [\"login\" \"password\" \"database\" \"secure_note\"]\n"
        },
        "database": {
          "type": "string",
          "description": "(Only applies to the database category) The name of the database.\n"
        },
        "hostname": {
          "type": "string",
          "description": "(Only applies to the database category) The address where the database can be found\n"
        },
        "noteValue": {
          "type": "string",
          "description": "Secure Note value.\n",
          "secret": true
        },
        "password": {
          "type": "string",
          "description": "Password for this item.\n",
          "secret": true
        },
        "passwordRecipe": {
          "$ref": "#/types/onepassword:index%2FItemPasswordRecipe:ItemPasswordRecipe",
          "description": "The recipe used to generate a new value for a password.\n"
        },
        "port": {
          "type": "string",
          "description": "(Only applies to the database category) The port the database is listening on.\n"
        },
        "sections": {
          "type": "array",
          "items": {
            "$ref": "#/types/onepassword:index%2FItemSection:ItemSection"
          },
          "description": "A list of custom sections in an item\n"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of strings of the tags assigned to the item.\n"
        },
        "title": {
          "type": "string",
          "description": "The title of the item.\n"
        },
        "type": {
          "type": "string",
          "description": "(Only applies to the database category) The type of database. One of [\"db2\" \"filemaker\" \"msaccess\" \"mssql\" \"mysql\" \"oracle\" \"postgresql\" \"sqlite\" \"other\"]\n"
        },
        "url": {
          "type": "string",
          "description": "The primary URL for the item.\n"
        },
        "username": {
          "type": "string",
          "description": "Username for this item.\n"
        },
        "uuid": {
          "type": "string",
          "description": "The UUID of the item. Item identifiers are unique within a specific vault.\n"
        },
        "vault": {
          "type": "string",
          "description": "The UUID of the vault the item is in.\n"
        }
      },
      "type": "object",
      "required": [
        "category",
        "password",
        "uuid",
        "vault"
      ],
      "inputProperties": {
        "category": {
          "type": "string",
          "description": "The category of the item. One of [\"login\" \"password\" \"database\" \"secure_note\"]\n"
        },
        "database": {
          "type": "string",
          "description": "(Only applies to the database category) The name of the database.\n"
        },
        "hostname": {
          "type": "string",
          "description": "(Only applies to the database category) The address where the database can be found\n"
        },
        "noteValue": {
          "type": "string",
          "description": "Secure Note value.\n",
          "secret": true
        },
        "password": {
          "type": "string",
          "description": "Password for this item.\n",
          "secret": true
        },
        "passwordRecipe": {
          "$ref": "#/types/onepassword:index%2FItemPasswordRecipe:ItemPasswordRecipe",
          "description": "The recipe used to generate a new value for a password.\n"
        },
        "port": {
          "type": "string",
          "description": "(Only applies to the database category) The port the database is listening on.\n"
        },
        "sections": {
          "type": "array",
          "items": {
            "$ref": "#/types/onepassword:index%2FItemSection:ItemSection"
          },
          "description": "A list of custom sections in an item\n"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of strings of the tags assigned to the item.\n"
        },
        "title": {
          "type": "string",
          "description": "The title of the item.\n"
        },
        "type": {
          "type": "string",
          "description": "(Only applies to the database category) The type of database. One of [\"db2\" \"filemaker\" \"msaccess\" \"mssql\" \"mysql\" \"oracle\" \"postgresql\" \"sqlite\" \"other\"]\n"
        },
        "url": {
          "type": "string",
          "description": "The primary URL for the item.\n"
        },
        "username": {
          "type": "string",
          "description": "Username for this item.\n"
        },
        "vault": {
          "type": "string",
          "description": "The UUID of the vault the item is in.\n"
        }
      },
      "requiredInputs": [
        "vault"
      ],
      "stateInputs": {
        "description": "Input properties used for looking up and filtering Item resources.\n",
        "properties": {
          "category": {
            "type": "string",
            "description": "The category of the item. One of [\"login\" \"password\" \"database\" \"secure_note\"]\n"
          },
          "database": {
            "type": "string",
            "description": "(Only applies to the database category) The name of the database.\n"
          },
          "hostname": {
            "type": "string",
            "description": "(Only applies to the database category) The address where the database can be found\n"
          },
          "noteValue": {
            "type": "string",
            "description": "Secure Note value.\n",
            "secret": true
          },
          "password": {
            "type": "string",
            "description": "Password for this item.\n",
            "secret": true
          },
          "passwordRecipe": {
            "$ref": "#/types/onepassword:index%2FItemPasswordRecipe:ItemPasswordRecipe",
            "description": "The recipe used to generate a new value for a password.\n"
          },
          "port": {
            "type": "string",
            "description": "(Only applies to the database category) The port the database is listening on.\n"
          },
          "sections": {
            "type": "array",
            "items": {
              "$ref": "#/types/onepassword:index%2FItemSection:ItemSection"
            },
            "description": "A list of custom sections in an item\n"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "An array of strings of the tags assigned to the item.\n"
          },
          "title": {
            "type": "string",
            "description": "The title of the item.\n"
          },
          "type": {
            "type": "string",
            "description": "(Only applies to the database category) The type of database. One of [\"db2\" \"filemaker\" \"msaccess\" \"mssql\" \"mysql\" \"oracle\" \"postgresql\" \"sqlite\" \"other\"]\n"
          },
          "url": {
            "type": "string",
            "description": "The primary URL for the item.\n"
          },
          "username": {
            "type": "string",
            "description": "Username for this item.\n"
          },
          "uuid": {
            "type": "string",
            "description": "The UUID of the item. Item identifiers are unique within a specific vault.\n"
          },
          "vault": {
            "type": "string",
            "description": "The UUID of the vault the item is in.\n"
          }
        },
        "type": "object"
      }
    }
  },
  "functions": {
    "onepassword:index/getItem:getItem": {
      "description": "Use this data source to get details of an item by its vault uuid and either the title or the uuid of the item.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as onepassword from \"@1Password/pulumi-onepassword\";\n\nconst example = onepassword.getItem({\n    title: \"your-item-title\",\n    vault: \"your-vault-id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_onepassword as onepassword\n\nexample = onepassword.get_item(title=\"your-item-title\",\n    vault=\"your-vault-id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Onepassword = Pulumi.Onepassword;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var example = Onepassword.GetItem.Invoke(new()\n    {\n        Title = \"your-item-title\",\n        Vault = \"your-vault-id\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/1Password/pulumi-onepassword/sdk/go/onepassword\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := onepassword.LookupItem(ctx, \u0026onepassword.LookupItemArgs{\n\t\t\tTitle: pulumi.StringRef(\"your-item-title\"),\n\t\t\tVault: \"your-vault-id\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.onepassword.OnepasswordFunctions;\nimport com.pulumi.onepassword.inputs.GetItemArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var example = OnepasswordFunctions.getItem(GetItemArgs.builder()\n            .title(\"your-item-title\")\n            .vault(\"your-vault-id\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  example:\n    fn::invoke:\n      Function: onepassword:getItem\n      Arguments:\n        title: your-item-title\n        vault: your-vault-id\n```\n\u003c!--End PulumiCodeChooser --\u003e\n",
      "inputs": {
        "description": "A collection of arguments for invoking getItem.\n",
        "properties": {
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/types/onepassword:index%2FgetItemFile:getItemFile"
            },
            "description": "A list of files attached to the item.\n"
          },
          "noteValue": {
            "type": "string",
            "description": "Secure Note value.\n",
            "secret": true
          },
          "sections": {
            "type": "array",
            "items": {
              "$ref": "#/types/onepassword:index%2FgetItemSection:getItemSection"
            },
            "description": "A list of custom sections in an item\n"
          },
          "title": {
            "type": "string",
            "description": "The title of the item to retrieve. This field will be populated with the title of the item if the item it looked up by its UUID.\n"
          },
          "uuid": {
            "type": "string",
            "description": "The UUID of the item to retrieve. This field will be populated with the UUID of the item if the item it looked up by its title.\n"
          },
          "vault": {
            "type": "string",
            "description": "The UUID of the vault the item is in.\n"
          }
        },
        "type": "object",
        "required": [
          "vault"
        ]
      },
      "outputs": {
        "description": "A collection of values returned by getItem.\n",
        "properties": {
          "category": {
            "description": "The category of the item. One of [\"login\" \"password\" \"database\" \"secure*note\" \"document\" \"ssh*key\"]\n",
            "type": "string"
          },
          "credential": {
            "description": "API credential for this item.\n",
            "secret": true,
            "type": "string"
          },
          "database": {
            "description": "(Only applies to the database category) The name of the database.\n",
            "type": "string"
          },
          "files": {
            "description": "A list of files attached to the item.\n",
            "items": {
              "$ref": "#/types/onepassword:index%2FgetItemFile:getItemFile"
            },
            "type": "array"
          },
          "hostname": {
            "description": "(Only applies to the database category) The address where the database can be found\n",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "noteValue": {
            "description": "Secure Note value.\n",
            "secret": true,
            "type": "string"
          },
          "password": {
            "description": "Password for this item.\n",
            "secret": true,
            "type": "string"
          },
          "port": {
            "description": "(Only applies to the database category) The port the database is listening on.\n",
            "type": "string"
          },
          "privateKey": {
            "description": "SSH Private Key for this item.\n",
            "secret": true,
            "type": "string"
          },
          "publicKey": {
            "description": "SSH Public Key for this item.\n",
            "type": "string"
          },
          "sections": {
            "description": "A list of custom sections in an item\n",
            "items": {
              "$ref": "#/types/onepassword:index%2FgetItemSection:getItemSection"
            },
            "type": "array"
          },
          "tags": {
            "description": "An array of strings of the tags assigned to the item.\n",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "description": "The title of the item to retrieve. This field will be populated with the title of the item if the item it looked up by its UUID.\n",
            "type": "string"
          },
          "type": {
            "description": "(Only applies to the database category) The type of database. One of [\"db2\" \"filemaker\" \"msaccess\" \"mssql\" \"mysql\" \"oracle\" \"postgresql\" \"sqlite\" \"other\"]\n",
            "type": "string"
          },
          "url": {
            "description": "The primary URL for the item.\n",
            "type": "string"
          },
          "username": {
            "description": "Username for this item.\n",
            "type": "string"
          },
          "uuid": {
            "description": "The UUID of the item to retrieve. This field will be populated with the UUID of the item if the item it looked up by its title.\n",
            "type": "string"
          },
          "vault": {
            "description": "The UUID of the vault the item is in.\n",
            "type": "string"
          }
        },
        "required": [
          "category",
          "credential",
          "database",
          "hostname",
          "id",
          "noteValue",
          "password",
          "port",
          "privateKey",
          "publicKey",
          "tags",
          "title",
          "type",
          "url",
          "username",
          "uuid",
          "vault"
        ],
        "type": "object"
      }
    },
    "onepassword:index/getVault:getVault": {
      "description": "Use this data source to get details of a vault by either its name or uuid.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as onepassword from \"@1Password/pulumi-onepassword\";\n\nconst example = onepassword.getVault({\n    name: \"your-vault-name\",\n});\n```\n```python\nimport pulumi\nimport pulumi_onepassword as onepassword\n\nexample = onepassword.get_vault(name=\"your-vault-name\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Onepassword = Pulumi.Onepassword;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var example = Onepassword.GetVault.Invoke(new()\n    {\n        Name = \"your-vault-name\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/1Password/pulumi-onepassword/sdk/go/onepassword\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := onepassword.GetVault(ctx, \u0026onepassword.GetVaultArgs{\n\t\t\tName: pulumi.StringRef(\"your-vault-name\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.onepassword.OnepasswordFunctions;\nimport com.pulumi.onepassword.inputs.GetVaultArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var example = OnepasswordFunctions.getVault(GetVaultArgs.builder()\n            .name(\"your-vault-name\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  example:\n    fn::invoke:\n      Function: onepassword:getVault\n      Arguments:\n        name: your-vault-name\n```\n\u003c!--End PulumiCodeChooser --\u003e\n",
      "inputs": {
        "description": "A collection of arguments for invoking getVault.\n",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the vault to retrieve. This field will be populated with the name of the vault if the vault it looked up by its UUID.\n"
          },
          "uuid": {
            "type": "string",
            "description": "The UUID of the vault to retrieve. This field will be populated with the UUID of the vault if the vault it looked up by its name.\n"
          }
        },
        "type": "object"
      },
      "outputs": {
        "description": "A collection of values returned by getVault.\n",
        "properties": {
          "description": {
            "description": "The description of the vault.\n",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "description": "The name of the vault to retrieve. This field will be populated with the name of the vault if the vault it looked up by its UUID.\n",
            "type": "string"
          },
          "uuid": {
            "description": "The UUID of the vault to retrieve. This field will be populated with the UUID of the vault if the vault it looked up by its name.\n",
            "type": "string"
          }
        },
        "required": [
          "description",
          "id",
          "name",
          "uuid"
        ],
        "type": "object"
      }
    }
  }
}
