Documentation
¶
Overview ¶
Use the 1Password Pulumi provider to access and manage items in your 1Password vaults.
Index ¶
- type GetItemFile
- type GetItemFileArgs
- type GetItemFileArray
- type GetItemFileArrayInput
- type GetItemFileArrayOutput
- func (GetItemFileArrayOutput) ElementType() reflect.Type
- func (o GetItemFileArrayOutput) Index(i pulumi.IntInput) GetItemFileOutput
- func (o GetItemFileArrayOutput) ToGetItemFileArrayOutput() GetItemFileArrayOutput
- func (o GetItemFileArrayOutput) ToGetItemFileArrayOutputWithContext(ctx context.Context) GetItemFileArrayOutput
- type GetItemFileInput
- type GetItemFileOutput
- func (o GetItemFileOutput) Content() pulumi.StringOutput
- func (o GetItemFileOutput) ContentBase64() pulumi.StringOutput
- func (GetItemFileOutput) ElementType() reflect.Type
- func (o GetItemFileOutput) Id() pulumi.StringOutput
- func (o GetItemFileOutput) Name() pulumi.StringOutput
- func (o GetItemFileOutput) ToGetItemFileOutput() GetItemFileOutput
- func (o GetItemFileOutput) ToGetItemFileOutputWithContext(ctx context.Context) GetItemFileOutput
- type GetItemSection
- type GetItemSectionArgs
- type GetItemSectionArray
- type GetItemSectionArrayInput
- type GetItemSectionArrayOutput
- func (GetItemSectionArrayOutput) ElementType() reflect.Type
- func (o GetItemSectionArrayOutput) Index(i pulumi.IntInput) GetItemSectionOutput
- func (o GetItemSectionArrayOutput) ToGetItemSectionArrayOutput() GetItemSectionArrayOutput
- func (o GetItemSectionArrayOutput) ToGetItemSectionArrayOutputWithContext(ctx context.Context) GetItemSectionArrayOutput
- type GetItemSectionField
- type GetItemSectionFieldArgs
- type GetItemSectionFieldArray
- type GetItemSectionFieldArrayInput
- type GetItemSectionFieldArrayOutput
- func (GetItemSectionFieldArrayOutput) ElementType() reflect.Type
- func (o GetItemSectionFieldArrayOutput) Index(i pulumi.IntInput) GetItemSectionFieldOutput
- func (o GetItemSectionFieldArrayOutput) ToGetItemSectionFieldArrayOutput() GetItemSectionFieldArrayOutput
- func (o GetItemSectionFieldArrayOutput) ToGetItemSectionFieldArrayOutputWithContext(ctx context.Context) GetItemSectionFieldArrayOutput
- type GetItemSectionFieldInput
- type GetItemSectionFieldOutput
- func (GetItemSectionFieldOutput) ElementType() reflect.Type
- func (o GetItemSectionFieldOutput) Id() pulumi.StringOutput
- func (o GetItemSectionFieldOutput) Label() pulumi.StringOutput
- func (o GetItemSectionFieldOutput) Purpose() pulumi.StringOutput
- func (o GetItemSectionFieldOutput) ToGetItemSectionFieldOutput() GetItemSectionFieldOutput
- func (o GetItemSectionFieldOutput) ToGetItemSectionFieldOutputWithContext(ctx context.Context) GetItemSectionFieldOutput
- func (o GetItemSectionFieldOutput) Type() pulumi.StringOutput
- func (o GetItemSectionFieldOutput) Value() pulumi.StringOutput
- type GetItemSectionFile
- type GetItemSectionFileArgs
- type GetItemSectionFileArray
- type GetItemSectionFileArrayInput
- type GetItemSectionFileArrayOutput
- func (GetItemSectionFileArrayOutput) ElementType() reflect.Type
- func (o GetItemSectionFileArrayOutput) Index(i pulumi.IntInput) GetItemSectionFileOutput
- func (o GetItemSectionFileArrayOutput) ToGetItemSectionFileArrayOutput() GetItemSectionFileArrayOutput
- func (o GetItemSectionFileArrayOutput) ToGetItemSectionFileArrayOutputWithContext(ctx context.Context) GetItemSectionFileArrayOutput
- type GetItemSectionFileInput
- type GetItemSectionFileOutput
- func (o GetItemSectionFileOutput) Content() pulumi.StringOutput
- func (o GetItemSectionFileOutput) ContentBase64() pulumi.StringOutput
- func (GetItemSectionFileOutput) ElementType() reflect.Type
- func (o GetItemSectionFileOutput) Id() pulumi.StringOutput
- func (o GetItemSectionFileOutput) Name() pulumi.StringOutput
- func (o GetItemSectionFileOutput) ToGetItemSectionFileOutput() GetItemSectionFileOutput
- func (o GetItemSectionFileOutput) ToGetItemSectionFileOutputWithContext(ctx context.Context) GetItemSectionFileOutput
- type GetItemSectionInput
- type GetItemSectionOutput
- func (GetItemSectionOutput) ElementType() reflect.Type
- func (o GetItemSectionOutput) Fields() GetItemSectionFieldArrayOutput
- func (o GetItemSectionOutput) Files() GetItemSectionFileArrayOutput
- func (o GetItemSectionOutput) Id() pulumi.StringOutput
- func (o GetItemSectionOutput) Label() pulumi.StringOutput
- func (o GetItemSectionOutput) ToGetItemSectionOutput() GetItemSectionOutput
- func (o GetItemSectionOutput) ToGetItemSectionOutputWithContext(ctx context.Context) GetItemSectionOutput
- type GetVaultArgs
- type GetVaultOutputArgs
- type GetVaultResult
- type GetVaultResultOutput
- func (o GetVaultResultOutput) Description() pulumi.StringOutput
- func (GetVaultResultOutput) ElementType() reflect.Type
- func (o GetVaultResultOutput) Id() pulumi.StringOutput
- func (o GetVaultResultOutput) Name() pulumi.StringOutput
- func (o GetVaultResultOutput) ToGetVaultResultOutput() GetVaultResultOutput
- func (o GetVaultResultOutput) ToGetVaultResultOutputWithContext(ctx context.Context) GetVaultResultOutput
- func (o GetVaultResultOutput) Uuid() pulumi.StringOutput
- type Item
- type ItemArgs
- type ItemArray
- type ItemArrayInput
- type ItemArrayOutput
- type ItemInput
- type ItemMap
- type ItemMapInput
- type ItemMapOutput
- type ItemOutput
- func (o ItemOutput) Category() pulumi.StringOutput
- func (o ItemOutput) Database() pulumi.StringPtrOutput
- func (ItemOutput) ElementType() reflect.Type
- func (o ItemOutput) Hostname() pulumi.StringPtrOutput
- func (o ItemOutput) NoteValue() pulumi.StringPtrOutput
- func (o ItemOutput) Password() pulumi.StringOutput
- func (o ItemOutput) PasswordRecipe() ItemPasswordRecipePtrOutput
- func (o ItemOutput) Port() pulumi.StringPtrOutput
- func (o ItemOutput) Sections() ItemSectionArrayOutput
- func (o ItemOutput) Tags() pulumi.StringArrayOutput
- func (o ItemOutput) Title() pulumi.StringPtrOutput
- func (o ItemOutput) ToItemOutput() ItemOutput
- func (o ItemOutput) ToItemOutputWithContext(ctx context.Context) ItemOutput
- func (o ItemOutput) Type() pulumi.StringPtrOutput
- func (o ItemOutput) Url() pulumi.StringPtrOutput
- func (o ItemOutput) Username() pulumi.StringPtrOutput
- func (o ItemOutput) Uuid() pulumi.StringOutput
- func (o ItemOutput) Vault() pulumi.StringOutput
- type ItemPasswordRecipe
- type ItemPasswordRecipeArgs
- func (ItemPasswordRecipeArgs) ElementType() reflect.Type
- func (i ItemPasswordRecipeArgs) ToItemPasswordRecipeOutput() ItemPasswordRecipeOutput
- func (i ItemPasswordRecipeArgs) ToItemPasswordRecipeOutputWithContext(ctx context.Context) ItemPasswordRecipeOutput
- func (i ItemPasswordRecipeArgs) ToItemPasswordRecipePtrOutput() ItemPasswordRecipePtrOutput
- func (i ItemPasswordRecipeArgs) ToItemPasswordRecipePtrOutputWithContext(ctx context.Context) ItemPasswordRecipePtrOutput
- type ItemPasswordRecipeInput
- type ItemPasswordRecipeOutput
- func (o ItemPasswordRecipeOutput) Digits() pulumi.BoolPtrOutput
- func (ItemPasswordRecipeOutput) ElementType() reflect.Type
- func (o ItemPasswordRecipeOutput) Length() pulumi.IntPtrOutput
- func (o ItemPasswordRecipeOutput) Letters() pulumi.BoolPtrOutput
- func (o ItemPasswordRecipeOutput) Symbols() pulumi.BoolPtrOutput
- func (o ItemPasswordRecipeOutput) ToItemPasswordRecipeOutput() ItemPasswordRecipeOutput
- func (o ItemPasswordRecipeOutput) ToItemPasswordRecipeOutputWithContext(ctx context.Context) ItemPasswordRecipeOutput
- func (o ItemPasswordRecipeOutput) ToItemPasswordRecipePtrOutput() ItemPasswordRecipePtrOutput
- func (o ItemPasswordRecipeOutput) ToItemPasswordRecipePtrOutputWithContext(ctx context.Context) ItemPasswordRecipePtrOutput
- type ItemPasswordRecipePtrInput
- type ItemPasswordRecipePtrOutput
- func (o ItemPasswordRecipePtrOutput) Digits() pulumi.BoolPtrOutput
- func (o ItemPasswordRecipePtrOutput) Elem() ItemPasswordRecipeOutput
- func (ItemPasswordRecipePtrOutput) ElementType() reflect.Type
- func (o ItemPasswordRecipePtrOutput) Length() pulumi.IntPtrOutput
- func (o ItemPasswordRecipePtrOutput) Letters() pulumi.BoolPtrOutput
- func (o ItemPasswordRecipePtrOutput) Symbols() pulumi.BoolPtrOutput
- func (o ItemPasswordRecipePtrOutput) ToItemPasswordRecipePtrOutput() ItemPasswordRecipePtrOutput
- func (o ItemPasswordRecipePtrOutput) ToItemPasswordRecipePtrOutputWithContext(ctx context.Context) ItemPasswordRecipePtrOutput
- type ItemSection
- type ItemSectionArgs
- type ItemSectionArray
- type ItemSectionArrayInput
- type ItemSectionArrayOutput
- func (ItemSectionArrayOutput) ElementType() reflect.Type
- func (o ItemSectionArrayOutput) Index(i pulumi.IntInput) ItemSectionOutput
- func (o ItemSectionArrayOutput) ToItemSectionArrayOutput() ItemSectionArrayOutput
- func (o ItemSectionArrayOutput) ToItemSectionArrayOutputWithContext(ctx context.Context) ItemSectionArrayOutput
- type ItemSectionField
- type ItemSectionFieldArgs
- type ItemSectionFieldArray
- type ItemSectionFieldArrayInput
- type ItemSectionFieldArrayOutput
- func (ItemSectionFieldArrayOutput) ElementType() reflect.Type
- func (o ItemSectionFieldArrayOutput) Index(i pulumi.IntInput) ItemSectionFieldOutput
- func (o ItemSectionFieldArrayOutput) ToItemSectionFieldArrayOutput() ItemSectionFieldArrayOutput
- func (o ItemSectionFieldArrayOutput) ToItemSectionFieldArrayOutputWithContext(ctx context.Context) ItemSectionFieldArrayOutput
- type ItemSectionFieldInput
- type ItemSectionFieldOutput
- func (ItemSectionFieldOutput) ElementType() reflect.Type
- func (o ItemSectionFieldOutput) Id() pulumi.StringPtrOutput
- func (o ItemSectionFieldOutput) Label() pulumi.StringOutput
- func (o ItemSectionFieldOutput) PasswordRecipe() ItemSectionFieldPasswordRecipePtrOutput
- func (o ItemSectionFieldOutput) Purpose() pulumi.StringPtrOutput
- func (o ItemSectionFieldOutput) ToItemSectionFieldOutput() ItemSectionFieldOutput
- func (o ItemSectionFieldOutput) ToItemSectionFieldOutputWithContext(ctx context.Context) ItemSectionFieldOutput
- func (o ItemSectionFieldOutput) Type() pulumi.StringPtrOutput
- func (o ItemSectionFieldOutput) Value() pulumi.StringPtrOutput
- type ItemSectionFieldPasswordRecipe
- type ItemSectionFieldPasswordRecipeArgs
- func (ItemSectionFieldPasswordRecipeArgs) ElementType() reflect.Type
- func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipeOutput() ItemSectionFieldPasswordRecipeOutput
- func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipeOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipeOutput
- func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipePtrOutput() ItemSectionFieldPasswordRecipePtrOutput
- func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipePtrOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipePtrOutput
- type ItemSectionFieldPasswordRecipeInput
- type ItemSectionFieldPasswordRecipeOutput
- func (o ItemSectionFieldPasswordRecipeOutput) Digits() pulumi.BoolPtrOutput
- func (ItemSectionFieldPasswordRecipeOutput) ElementType() reflect.Type
- func (o ItemSectionFieldPasswordRecipeOutput) Length() pulumi.IntPtrOutput
- func (o ItemSectionFieldPasswordRecipeOutput) Letters() pulumi.BoolPtrOutput
- func (o ItemSectionFieldPasswordRecipeOutput) Symbols() pulumi.BoolPtrOutput
- func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipeOutput() ItemSectionFieldPasswordRecipeOutput
- func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipeOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipeOutput
- func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipePtrOutput() ItemSectionFieldPasswordRecipePtrOutput
- func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipePtrOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipePtrOutput
- type ItemSectionFieldPasswordRecipePtrInput
- type ItemSectionFieldPasswordRecipePtrOutput
- func (o ItemSectionFieldPasswordRecipePtrOutput) Digits() pulumi.BoolPtrOutput
- func (o ItemSectionFieldPasswordRecipePtrOutput) Elem() ItemSectionFieldPasswordRecipeOutput
- func (ItemSectionFieldPasswordRecipePtrOutput) ElementType() reflect.Type
- func (o ItemSectionFieldPasswordRecipePtrOutput) Length() pulumi.IntPtrOutput
- func (o ItemSectionFieldPasswordRecipePtrOutput) Letters() pulumi.BoolPtrOutput
- func (o ItemSectionFieldPasswordRecipePtrOutput) Symbols() pulumi.BoolPtrOutput
- func (o ItemSectionFieldPasswordRecipePtrOutput) ToItemSectionFieldPasswordRecipePtrOutput() ItemSectionFieldPasswordRecipePtrOutput
- func (o ItemSectionFieldPasswordRecipePtrOutput) ToItemSectionFieldPasswordRecipePtrOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipePtrOutput
- type ItemSectionInput
- type ItemSectionOutput
- func (ItemSectionOutput) ElementType() reflect.Type
- func (o ItemSectionOutput) Fields() ItemSectionFieldArrayOutput
- func (o ItemSectionOutput) Id() pulumi.StringPtrOutput
- func (o ItemSectionOutput) Label() pulumi.StringOutput
- func (o ItemSectionOutput) ToItemSectionOutput() ItemSectionOutput
- func (o ItemSectionOutput) ToItemSectionOutputWithContext(ctx context.Context) ItemSectionOutput
- type ItemState
- type LookupItemArgs
- type LookupItemOutputArgs
- type LookupItemResult
- type LookupItemResultOutput
- func (o LookupItemResultOutput) Category() pulumi.StringOutput
- func (o LookupItemResultOutput) Credential() pulumi.StringOutput
- func (o LookupItemResultOutput) Database() pulumi.StringOutput
- func (LookupItemResultOutput) ElementType() reflect.Type
- func (o LookupItemResultOutput) Files() GetItemFileArrayOutput
- func (o LookupItemResultOutput) Hostname() pulumi.StringOutput
- func (o LookupItemResultOutput) Id() pulumi.StringOutput
- func (o LookupItemResultOutput) NoteValue() pulumi.StringOutput
- func (o LookupItemResultOutput) Password() pulumi.StringOutput
- func (o LookupItemResultOutput) Port() pulumi.StringOutput
- func (o LookupItemResultOutput) PrivateKey() pulumi.StringOutput
- func (o LookupItemResultOutput) PublicKey() pulumi.StringOutput
- func (o LookupItemResultOutput) Sections() GetItemSectionArrayOutput
- func (o LookupItemResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupItemResultOutput) Title() pulumi.StringOutput
- func (o LookupItemResultOutput) ToLookupItemResultOutput() LookupItemResultOutput
- func (o LookupItemResultOutput) ToLookupItemResultOutputWithContext(ctx context.Context) LookupItemResultOutput
- func (o LookupItemResultOutput) Type() pulumi.StringOutput
- func (o LookupItemResultOutput) Url() pulumi.StringOutput
- func (o LookupItemResultOutput) Username() pulumi.StringOutput
- func (o LookupItemResultOutput) Uuid() pulumi.StringOutput
- func (o LookupItemResultOutput) Vault() pulumi.StringOutput
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) Account() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) OpCliPath() pulumi.StringPtrOutput
- func (o ProviderOutput) ServiceAccountToken() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringPtrOutput
- func (o ProviderOutput) Url() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetItemFile ¶ added in v1.1.0
type GetItemFile struct { // The content of the file. Content string `pulumi:"content"` // The content of the file in base64 encoding. (Use this for binary files.) ContentBase64 string `pulumi:"contentBase64"` // The UUID of the file. Id string `pulumi:"id"` // The name of the file. Name string `pulumi:"name"` }
type GetItemFileArgs ¶ added in v1.1.0
type GetItemFileArgs struct { // The content of the file. Content pulumi.StringInput `pulumi:"content"` // The content of the file in base64 encoding. (Use this for binary files.) ContentBase64 pulumi.StringInput `pulumi:"contentBase64"` // The UUID of the file. Id pulumi.StringInput `pulumi:"id"` // The name of the file. Name pulumi.StringInput `pulumi:"name"` }
func (GetItemFileArgs) ElementType ¶ added in v1.1.0
func (GetItemFileArgs) ElementType() reflect.Type
func (GetItemFileArgs) ToGetItemFileOutput ¶ added in v1.1.0
func (i GetItemFileArgs) ToGetItemFileOutput() GetItemFileOutput
func (GetItemFileArgs) ToGetItemFileOutputWithContext ¶ added in v1.1.0
func (i GetItemFileArgs) ToGetItemFileOutputWithContext(ctx context.Context) GetItemFileOutput
type GetItemFileArray ¶ added in v1.1.0
type GetItemFileArray []GetItemFileInput
func (GetItemFileArray) ElementType ¶ added in v1.1.0
func (GetItemFileArray) ElementType() reflect.Type
func (GetItemFileArray) ToGetItemFileArrayOutput ¶ added in v1.1.0
func (i GetItemFileArray) ToGetItemFileArrayOutput() GetItemFileArrayOutput
func (GetItemFileArray) ToGetItemFileArrayOutputWithContext ¶ added in v1.1.0
func (i GetItemFileArray) ToGetItemFileArrayOutputWithContext(ctx context.Context) GetItemFileArrayOutput
type GetItemFileArrayInput ¶ added in v1.1.0
type GetItemFileArrayInput interface { pulumi.Input ToGetItemFileArrayOutput() GetItemFileArrayOutput ToGetItemFileArrayOutputWithContext(context.Context) GetItemFileArrayOutput }
GetItemFileArrayInput is an input type that accepts GetItemFileArray and GetItemFileArrayOutput values. You can construct a concrete instance of `GetItemFileArrayInput` via:
GetItemFileArray{ GetItemFileArgs{...} }
type GetItemFileArrayOutput ¶ added in v1.1.0
type GetItemFileArrayOutput struct{ *pulumi.OutputState }
func (GetItemFileArrayOutput) ElementType ¶ added in v1.1.0
func (GetItemFileArrayOutput) ElementType() reflect.Type
func (GetItemFileArrayOutput) Index ¶ added in v1.1.0
func (o GetItemFileArrayOutput) Index(i pulumi.IntInput) GetItemFileOutput
func (GetItemFileArrayOutput) ToGetItemFileArrayOutput ¶ added in v1.1.0
func (o GetItemFileArrayOutput) ToGetItemFileArrayOutput() GetItemFileArrayOutput
func (GetItemFileArrayOutput) ToGetItemFileArrayOutputWithContext ¶ added in v1.1.0
func (o GetItemFileArrayOutput) ToGetItemFileArrayOutputWithContext(ctx context.Context) GetItemFileArrayOutput
type GetItemFileInput ¶ added in v1.1.0
type GetItemFileInput interface { pulumi.Input ToGetItemFileOutput() GetItemFileOutput ToGetItemFileOutputWithContext(context.Context) GetItemFileOutput }
GetItemFileInput is an input type that accepts GetItemFileArgs and GetItemFileOutput values. You can construct a concrete instance of `GetItemFileInput` via:
GetItemFileArgs{...}
type GetItemFileOutput ¶ added in v1.1.0
type GetItemFileOutput struct{ *pulumi.OutputState }
func (GetItemFileOutput) Content ¶ added in v1.1.0
func (o GetItemFileOutput) Content() pulumi.StringOutput
The content of the file.
func (GetItemFileOutput) ContentBase64 ¶ added in v1.1.0
func (o GetItemFileOutput) ContentBase64() pulumi.StringOutput
The content of the file in base64 encoding. (Use this for binary files.)
func (GetItemFileOutput) ElementType ¶ added in v1.1.0
func (GetItemFileOutput) ElementType() reflect.Type
func (GetItemFileOutput) Id ¶ added in v1.1.0
func (o GetItemFileOutput) Id() pulumi.StringOutput
The UUID of the file.
func (GetItemFileOutput) Name ¶ added in v1.1.0
func (o GetItemFileOutput) Name() pulumi.StringOutput
The name of the file.
func (GetItemFileOutput) ToGetItemFileOutput ¶ added in v1.1.0
func (o GetItemFileOutput) ToGetItemFileOutput() GetItemFileOutput
func (GetItemFileOutput) ToGetItemFileOutputWithContext ¶ added in v1.1.0
func (o GetItemFileOutput) ToGetItemFileOutputWithContext(ctx context.Context) GetItemFileOutput
type GetItemSection ¶
type GetItemSection struct { Fields []GetItemSectionField `pulumi:"fields"` // A list of files attached to the section. Files []GetItemSectionFile `pulumi:"files"` // A unique identifier for the section. Id string `pulumi:"id"` // The label for the section. Label string `pulumi:"label"` }
type GetItemSectionArgs ¶
type GetItemSectionArgs struct { Fields GetItemSectionFieldArrayInput `pulumi:"fields"` // A list of files attached to the section. Files GetItemSectionFileArrayInput `pulumi:"files"` // A unique identifier for the section. Id pulumi.StringInput `pulumi:"id"` // The label for the section. Label pulumi.StringInput `pulumi:"label"` }
func (GetItemSectionArgs) ElementType ¶
func (GetItemSectionArgs) ElementType() reflect.Type
func (GetItemSectionArgs) ToGetItemSectionOutput ¶
func (i GetItemSectionArgs) ToGetItemSectionOutput() GetItemSectionOutput
func (GetItemSectionArgs) ToGetItemSectionOutputWithContext ¶
func (i GetItemSectionArgs) ToGetItemSectionOutputWithContext(ctx context.Context) GetItemSectionOutput
type GetItemSectionArray ¶
type GetItemSectionArray []GetItemSectionInput
func (GetItemSectionArray) ElementType ¶
func (GetItemSectionArray) ElementType() reflect.Type
func (GetItemSectionArray) ToGetItemSectionArrayOutput ¶
func (i GetItemSectionArray) ToGetItemSectionArrayOutput() GetItemSectionArrayOutput
func (GetItemSectionArray) ToGetItemSectionArrayOutputWithContext ¶
func (i GetItemSectionArray) ToGetItemSectionArrayOutputWithContext(ctx context.Context) GetItemSectionArrayOutput
type GetItemSectionArrayInput ¶
type GetItemSectionArrayInput interface { pulumi.Input ToGetItemSectionArrayOutput() GetItemSectionArrayOutput ToGetItemSectionArrayOutputWithContext(context.Context) GetItemSectionArrayOutput }
GetItemSectionArrayInput is an input type that accepts GetItemSectionArray and GetItemSectionArrayOutput values. You can construct a concrete instance of `GetItemSectionArrayInput` via:
GetItemSectionArray{ GetItemSectionArgs{...} }
type GetItemSectionArrayOutput ¶
type GetItemSectionArrayOutput struct{ *pulumi.OutputState }
func (GetItemSectionArrayOutput) ElementType ¶
func (GetItemSectionArrayOutput) ElementType() reflect.Type
func (GetItemSectionArrayOutput) Index ¶
func (o GetItemSectionArrayOutput) Index(i pulumi.IntInput) GetItemSectionOutput
func (GetItemSectionArrayOutput) ToGetItemSectionArrayOutput ¶
func (o GetItemSectionArrayOutput) ToGetItemSectionArrayOutput() GetItemSectionArrayOutput
func (GetItemSectionArrayOutput) ToGetItemSectionArrayOutputWithContext ¶
func (o GetItemSectionArrayOutput) ToGetItemSectionArrayOutputWithContext(ctx context.Context) GetItemSectionArrayOutput
type GetItemSectionField ¶
type GetItemSectionField struct { // A unique identifier for the field. Id string `pulumi:"id"` // The label for the field. Label string `pulumi:"label"` // Purpose indicates this is a special field: a username, password, or notes field. One of ["USERNAME" "PASSWORD" "NOTES"] Purpose string `pulumi:"purpose"` // The type of value stored in the field. One of ["STRING" "CONCEALED" "EMAIL" "URL" "OTP" "DATE" "MONTH_YEAR" "MENU"] Type string `pulumi:"type"` // The value of the field. Value string `pulumi:"value"` }
type GetItemSectionFieldArgs ¶
type GetItemSectionFieldArgs struct { // A unique identifier for the field. Id pulumi.StringInput `pulumi:"id"` // The label for the field. Label pulumi.StringInput `pulumi:"label"` // Purpose indicates this is a special field: a username, password, or notes field. One of ["USERNAME" "PASSWORD" "NOTES"] Purpose pulumi.StringInput `pulumi:"purpose"` // The type of value stored in the field. One of ["STRING" "CONCEALED" "EMAIL" "URL" "OTP" "DATE" "MONTH_YEAR" "MENU"] Type pulumi.StringInput `pulumi:"type"` // The value of the field. Value pulumi.StringInput `pulumi:"value"` }
func (GetItemSectionFieldArgs) ElementType ¶
func (GetItemSectionFieldArgs) ElementType() reflect.Type
func (GetItemSectionFieldArgs) ToGetItemSectionFieldOutput ¶
func (i GetItemSectionFieldArgs) ToGetItemSectionFieldOutput() GetItemSectionFieldOutput
func (GetItemSectionFieldArgs) ToGetItemSectionFieldOutputWithContext ¶
func (i GetItemSectionFieldArgs) ToGetItemSectionFieldOutputWithContext(ctx context.Context) GetItemSectionFieldOutput
type GetItemSectionFieldArray ¶
type GetItemSectionFieldArray []GetItemSectionFieldInput
func (GetItemSectionFieldArray) ElementType ¶
func (GetItemSectionFieldArray) ElementType() reflect.Type
func (GetItemSectionFieldArray) ToGetItemSectionFieldArrayOutput ¶
func (i GetItemSectionFieldArray) ToGetItemSectionFieldArrayOutput() GetItemSectionFieldArrayOutput
func (GetItemSectionFieldArray) ToGetItemSectionFieldArrayOutputWithContext ¶
func (i GetItemSectionFieldArray) ToGetItemSectionFieldArrayOutputWithContext(ctx context.Context) GetItemSectionFieldArrayOutput
type GetItemSectionFieldArrayInput ¶
type GetItemSectionFieldArrayInput interface { pulumi.Input ToGetItemSectionFieldArrayOutput() GetItemSectionFieldArrayOutput ToGetItemSectionFieldArrayOutputWithContext(context.Context) GetItemSectionFieldArrayOutput }
GetItemSectionFieldArrayInput is an input type that accepts GetItemSectionFieldArray and GetItemSectionFieldArrayOutput values. You can construct a concrete instance of `GetItemSectionFieldArrayInput` via:
GetItemSectionFieldArray{ GetItemSectionFieldArgs{...} }
type GetItemSectionFieldArrayOutput ¶
type GetItemSectionFieldArrayOutput struct{ *pulumi.OutputState }
func (GetItemSectionFieldArrayOutput) ElementType ¶
func (GetItemSectionFieldArrayOutput) ElementType() reflect.Type
func (GetItemSectionFieldArrayOutput) Index ¶
func (o GetItemSectionFieldArrayOutput) Index(i pulumi.IntInput) GetItemSectionFieldOutput
func (GetItemSectionFieldArrayOutput) ToGetItemSectionFieldArrayOutput ¶
func (o GetItemSectionFieldArrayOutput) ToGetItemSectionFieldArrayOutput() GetItemSectionFieldArrayOutput
func (GetItemSectionFieldArrayOutput) ToGetItemSectionFieldArrayOutputWithContext ¶
func (o GetItemSectionFieldArrayOutput) ToGetItemSectionFieldArrayOutputWithContext(ctx context.Context) GetItemSectionFieldArrayOutput
type GetItemSectionFieldInput ¶
type GetItemSectionFieldInput interface { pulumi.Input ToGetItemSectionFieldOutput() GetItemSectionFieldOutput ToGetItemSectionFieldOutputWithContext(context.Context) GetItemSectionFieldOutput }
GetItemSectionFieldInput is an input type that accepts GetItemSectionFieldArgs and GetItemSectionFieldOutput values. You can construct a concrete instance of `GetItemSectionFieldInput` via:
GetItemSectionFieldArgs{...}
type GetItemSectionFieldOutput ¶
type GetItemSectionFieldOutput struct{ *pulumi.OutputState }
func (GetItemSectionFieldOutput) ElementType ¶
func (GetItemSectionFieldOutput) ElementType() reflect.Type
func (GetItemSectionFieldOutput) Id ¶
func (o GetItemSectionFieldOutput) Id() pulumi.StringOutput
A unique identifier for the field.
func (GetItemSectionFieldOutput) Label ¶
func (o GetItemSectionFieldOutput) Label() pulumi.StringOutput
The label for the field.
func (GetItemSectionFieldOutput) Purpose ¶
func (o GetItemSectionFieldOutput) Purpose() pulumi.StringOutput
Purpose indicates this is a special field: a username, password, or notes field. One of ["USERNAME" "PASSWORD" "NOTES"]
func (GetItemSectionFieldOutput) ToGetItemSectionFieldOutput ¶
func (o GetItemSectionFieldOutput) ToGetItemSectionFieldOutput() GetItemSectionFieldOutput
func (GetItemSectionFieldOutput) ToGetItemSectionFieldOutputWithContext ¶
func (o GetItemSectionFieldOutput) ToGetItemSectionFieldOutputWithContext(ctx context.Context) GetItemSectionFieldOutput
func (GetItemSectionFieldOutput) Type ¶
func (o GetItemSectionFieldOutput) Type() pulumi.StringOutput
The type of value stored in the field. One of ["STRING" "CONCEALED" "EMAIL" "URL" "OTP" "DATE" "MONTH_YEAR" "MENU"]
func (GetItemSectionFieldOutput) Value ¶
func (o GetItemSectionFieldOutput) Value() pulumi.StringOutput
The value of the field.
type GetItemSectionFile ¶ added in v1.1.0
type GetItemSectionFile struct { // The content of the file. Content string `pulumi:"content"` // The content of the file in base64 encoding. (Use this for binary files.) ContentBase64 string `pulumi:"contentBase64"` // The UUID of the file. Id string `pulumi:"id"` // The name of the file. Name string `pulumi:"name"` }
type GetItemSectionFileArgs ¶ added in v1.1.0
type GetItemSectionFileArgs struct { // The content of the file. Content pulumi.StringInput `pulumi:"content"` // The content of the file in base64 encoding. (Use this for binary files.) ContentBase64 pulumi.StringInput `pulumi:"contentBase64"` // The UUID of the file. Id pulumi.StringInput `pulumi:"id"` // The name of the file. Name pulumi.StringInput `pulumi:"name"` }
func (GetItemSectionFileArgs) ElementType ¶ added in v1.1.0
func (GetItemSectionFileArgs) ElementType() reflect.Type
func (GetItemSectionFileArgs) ToGetItemSectionFileOutput ¶ added in v1.1.0
func (i GetItemSectionFileArgs) ToGetItemSectionFileOutput() GetItemSectionFileOutput
func (GetItemSectionFileArgs) ToGetItemSectionFileOutputWithContext ¶ added in v1.1.0
func (i GetItemSectionFileArgs) ToGetItemSectionFileOutputWithContext(ctx context.Context) GetItemSectionFileOutput
type GetItemSectionFileArray ¶ added in v1.1.0
type GetItemSectionFileArray []GetItemSectionFileInput
func (GetItemSectionFileArray) ElementType ¶ added in v1.1.0
func (GetItemSectionFileArray) ElementType() reflect.Type
func (GetItemSectionFileArray) ToGetItemSectionFileArrayOutput ¶ added in v1.1.0
func (i GetItemSectionFileArray) ToGetItemSectionFileArrayOutput() GetItemSectionFileArrayOutput
func (GetItemSectionFileArray) ToGetItemSectionFileArrayOutputWithContext ¶ added in v1.1.0
func (i GetItemSectionFileArray) ToGetItemSectionFileArrayOutputWithContext(ctx context.Context) GetItemSectionFileArrayOutput
type GetItemSectionFileArrayInput ¶ added in v1.1.0
type GetItemSectionFileArrayInput interface { pulumi.Input ToGetItemSectionFileArrayOutput() GetItemSectionFileArrayOutput ToGetItemSectionFileArrayOutputWithContext(context.Context) GetItemSectionFileArrayOutput }
GetItemSectionFileArrayInput is an input type that accepts GetItemSectionFileArray and GetItemSectionFileArrayOutput values. You can construct a concrete instance of `GetItemSectionFileArrayInput` via:
GetItemSectionFileArray{ GetItemSectionFileArgs{...} }
type GetItemSectionFileArrayOutput ¶ added in v1.1.0
type GetItemSectionFileArrayOutput struct{ *pulumi.OutputState }
func (GetItemSectionFileArrayOutput) ElementType ¶ added in v1.1.0
func (GetItemSectionFileArrayOutput) ElementType() reflect.Type
func (GetItemSectionFileArrayOutput) Index ¶ added in v1.1.0
func (o GetItemSectionFileArrayOutput) Index(i pulumi.IntInput) GetItemSectionFileOutput
func (GetItemSectionFileArrayOutput) ToGetItemSectionFileArrayOutput ¶ added in v1.1.0
func (o GetItemSectionFileArrayOutput) ToGetItemSectionFileArrayOutput() GetItemSectionFileArrayOutput
func (GetItemSectionFileArrayOutput) ToGetItemSectionFileArrayOutputWithContext ¶ added in v1.1.0
func (o GetItemSectionFileArrayOutput) ToGetItemSectionFileArrayOutputWithContext(ctx context.Context) GetItemSectionFileArrayOutput
type GetItemSectionFileInput ¶ added in v1.1.0
type GetItemSectionFileInput interface { pulumi.Input ToGetItemSectionFileOutput() GetItemSectionFileOutput ToGetItemSectionFileOutputWithContext(context.Context) GetItemSectionFileOutput }
GetItemSectionFileInput is an input type that accepts GetItemSectionFileArgs and GetItemSectionFileOutput values. You can construct a concrete instance of `GetItemSectionFileInput` via:
GetItemSectionFileArgs{...}
type GetItemSectionFileOutput ¶ added in v1.1.0
type GetItemSectionFileOutput struct{ *pulumi.OutputState }
func (GetItemSectionFileOutput) Content ¶ added in v1.1.0
func (o GetItemSectionFileOutput) Content() pulumi.StringOutput
The content of the file.
func (GetItemSectionFileOutput) ContentBase64 ¶ added in v1.1.0
func (o GetItemSectionFileOutput) ContentBase64() pulumi.StringOutput
The content of the file in base64 encoding. (Use this for binary files.)
func (GetItemSectionFileOutput) ElementType ¶ added in v1.1.0
func (GetItemSectionFileOutput) ElementType() reflect.Type
func (GetItemSectionFileOutput) Id ¶ added in v1.1.0
func (o GetItemSectionFileOutput) Id() pulumi.StringOutput
The UUID of the file.
func (GetItemSectionFileOutput) Name ¶ added in v1.1.0
func (o GetItemSectionFileOutput) Name() pulumi.StringOutput
The name of the file.
func (GetItemSectionFileOutput) ToGetItemSectionFileOutput ¶ added in v1.1.0
func (o GetItemSectionFileOutput) ToGetItemSectionFileOutput() GetItemSectionFileOutput
func (GetItemSectionFileOutput) ToGetItemSectionFileOutputWithContext ¶ added in v1.1.0
func (o GetItemSectionFileOutput) ToGetItemSectionFileOutputWithContext(ctx context.Context) GetItemSectionFileOutput
type GetItemSectionInput ¶
type GetItemSectionInput interface { pulumi.Input ToGetItemSectionOutput() GetItemSectionOutput ToGetItemSectionOutputWithContext(context.Context) GetItemSectionOutput }
GetItemSectionInput is an input type that accepts GetItemSectionArgs and GetItemSectionOutput values. You can construct a concrete instance of `GetItemSectionInput` via:
GetItemSectionArgs{...}
type GetItemSectionOutput ¶
type GetItemSectionOutput struct{ *pulumi.OutputState }
func (GetItemSectionOutput) ElementType ¶
func (GetItemSectionOutput) ElementType() reflect.Type
func (GetItemSectionOutput) Fields ¶
func (o GetItemSectionOutput) Fields() GetItemSectionFieldArrayOutput
func (GetItemSectionOutput) Files ¶ added in v1.1.0
func (o GetItemSectionOutput) Files() GetItemSectionFileArrayOutput
A list of files attached to the section.
func (GetItemSectionOutput) Id ¶
func (o GetItemSectionOutput) Id() pulumi.StringOutput
A unique identifier for the section.
func (GetItemSectionOutput) Label ¶
func (o GetItemSectionOutput) Label() pulumi.StringOutput
The label for the section.
func (GetItemSectionOutput) ToGetItemSectionOutput ¶
func (o GetItemSectionOutput) ToGetItemSectionOutput() GetItemSectionOutput
func (GetItemSectionOutput) ToGetItemSectionOutputWithContext ¶
func (o GetItemSectionOutput) ToGetItemSectionOutputWithContext(ctx context.Context) GetItemSectionOutput
type GetVaultArgs ¶
type GetVaultArgs struct { // 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. Name *string `pulumi:"name"` // 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. Uuid *string `pulumi:"uuid"` }
A collection of arguments for invoking getVault.
type GetVaultOutputArgs ¶
type GetVaultOutputArgs struct { // 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. Name pulumi.StringPtrInput `pulumi:"name"` // 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. Uuid pulumi.StringPtrInput `pulumi:"uuid"` }
A collection of arguments for invoking getVault.
func (GetVaultOutputArgs) ElementType ¶
func (GetVaultOutputArgs) ElementType() reflect.Type
type GetVaultResult ¶
type GetVaultResult struct { // The description of the vault. Description string `pulumi:"description"` Id string `pulumi:"id"` // 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. Name string `pulumi:"name"` // 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. Uuid string `pulumi:"uuid"` }
A collection of values returned by getVault.
func GetVault ¶
func GetVault(ctx *pulumi.Context, args *GetVaultArgs, opts ...pulumi.InvokeOption) (*GetVaultResult, error)
Use this data source to get details of a vault by either its name or uuid.
## Example Usage
```go package main
import (
"github.com/1Password/pulumi-onepassword/sdk/go/onepassword" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := onepassword.GetVault(ctx, &onepassword.GetVaultArgs{ Name: pulumi.StringRef("your-vault-name"), }, nil) if err != nil { return err } return nil }) }
```
type GetVaultResultOutput ¶
type GetVaultResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVault.
func GetVaultOutput ¶
func GetVaultOutput(ctx *pulumi.Context, args GetVaultOutputArgs, opts ...pulumi.InvokeOption) GetVaultResultOutput
func (GetVaultResultOutput) Description ¶
func (o GetVaultResultOutput) Description() pulumi.StringOutput
The description of the vault.
func (GetVaultResultOutput) ElementType ¶
func (GetVaultResultOutput) ElementType() reflect.Type
func (GetVaultResultOutput) Id ¶
func (o GetVaultResultOutput) Id() pulumi.StringOutput
func (GetVaultResultOutput) Name ¶
func (o GetVaultResultOutput) Name() pulumi.StringOutput
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.
func (GetVaultResultOutput) ToGetVaultResultOutput ¶
func (o GetVaultResultOutput) ToGetVaultResultOutput() GetVaultResultOutput
func (GetVaultResultOutput) ToGetVaultResultOutputWithContext ¶
func (o GetVaultResultOutput) ToGetVaultResultOutputWithContext(ctx context.Context) GetVaultResultOutput
func (GetVaultResultOutput) Uuid ¶
func (o GetVaultResultOutput) Uuid() pulumi.StringOutput
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.
type Item ¶
type Item struct { pulumi.CustomResourceState // The category of the item. One of ["login" "password" "database" "secureNote"] Category pulumi.StringOutput `pulumi:"category"` // (Only applies to the database category) The name of the database. Database pulumi.StringPtrOutput `pulumi:"database"` // (Only applies to the database category) The address where the database can be found Hostname pulumi.StringPtrOutput `pulumi:"hostname"` // Secure Note value. NoteValue pulumi.StringPtrOutput `pulumi:"noteValue"` // Password for this item. Password pulumi.StringOutput `pulumi:"password"` // The recipe used to generate a new value for a password. PasswordRecipe ItemPasswordRecipePtrOutput `pulumi:"passwordRecipe"` // (Only applies to the database category) The port the database is listening on. Port pulumi.StringPtrOutput `pulumi:"port"` // A list of custom sections in an item Sections ItemSectionArrayOutput `pulumi:"sections"` // An array of strings of the tags assigned to the item. Tags pulumi.StringArrayOutput `pulumi:"tags"` // The title of the item. Title pulumi.StringPtrOutput `pulumi:"title"` // (Only applies to the database category) The type of database. One of ["db2" "filemaker" "msaccess" "mssql" "mysql" "oracle" "postgresql" "sqlite" "other"] Type pulumi.StringPtrOutput `pulumi:"type"` // The primary URL for the item. Url pulumi.StringPtrOutput `pulumi:"url"` // Username for this item. Username pulumi.StringPtrOutput `pulumi:"username"` // The UUID of the item. Item identifiers are unique within a specific vault. Uuid pulumi.StringOutput `pulumi:"uuid"` // The UUID of the vault the item is in. Vault pulumi.StringOutput `pulumi:"vault"` }
A 1Password Item.
## Example Usage
```go package main
import (
"github.com/1Password/pulumi-onepassword/sdk/go/onepassword" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := onepassword.NewItem(ctx, "example", &onepassword.ItemArgs{ Category: pulumi.String("login"), PasswordRecipe: &onepassword.ItemPasswordRecipeArgs{ Length: pulumi.Int(40), Symbols: pulumi.Bool(false), }, Sections: onepassword.ItemSectionArray{ &onepassword.ItemSectionArgs{ Fields: onepassword.ItemSectionFieldArray{ &onepassword.ItemSectionFieldArgs{ Label: pulumi.String("Example field"), Type: pulumi.String("DATE"), Value: pulumi.String("2024-01-31"), }, }, Label: pulumi.String("Example section"), }, }, Title: pulumi.String("Example Item Title"), Vault: pulumi.String("your-vault-id"), }) if err != nil { return err } return nil }) }
```
## Import
import an existing 1Password item
```sh $ pulumi import onepassword:index/item:Item myitem vaults/<vault uuid>/items/<item uuid> ```
func GetItem ¶
func GetItem(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ItemState, opts ...pulumi.ResourceOption) (*Item, error)
GetItem gets an existing Item resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewItem ¶
func NewItem(ctx *pulumi.Context, name string, args *ItemArgs, opts ...pulumi.ResourceOption) (*Item, error)
NewItem registers a new resource with the given unique name, arguments, and options.
func (*Item) ElementType ¶
func (*Item) ToItemOutput ¶
func (i *Item) ToItemOutput() ItemOutput
func (*Item) ToItemOutputWithContext ¶
func (i *Item) ToItemOutputWithContext(ctx context.Context) ItemOutput
type ItemArgs ¶
type ItemArgs struct { // The category of the item. One of ["login" "password" "database" "secureNote"] Category pulumi.StringPtrInput // (Only applies to the database category) The name of the database. Database pulumi.StringPtrInput // (Only applies to the database category) The address where the database can be found Hostname pulumi.StringPtrInput // Secure Note value. NoteValue pulumi.StringPtrInput // Password for this item. Password pulumi.StringPtrInput // The recipe used to generate a new value for a password. PasswordRecipe ItemPasswordRecipePtrInput // (Only applies to the database category) The port the database is listening on. Port pulumi.StringPtrInput // A list of custom sections in an item Sections ItemSectionArrayInput // An array of strings of the tags assigned to the item. Tags pulumi.StringArrayInput // The title of the item. Title pulumi.StringPtrInput // (Only applies to the database category) The type of database. One of ["db2" "filemaker" "msaccess" "mssql" "mysql" "oracle" "postgresql" "sqlite" "other"] Type pulumi.StringPtrInput // The primary URL for the item. Url pulumi.StringPtrInput // Username for this item. Username pulumi.StringPtrInput // The UUID of the vault the item is in. Vault pulumi.StringInput }
The set of arguments for constructing a Item resource.
func (ItemArgs) ElementType ¶
type ItemArray ¶
type ItemArray []ItemInput
func (ItemArray) ElementType ¶
func (ItemArray) ToItemArrayOutput ¶
func (i ItemArray) ToItemArrayOutput() ItemArrayOutput
func (ItemArray) ToItemArrayOutputWithContext ¶
func (i ItemArray) ToItemArrayOutputWithContext(ctx context.Context) ItemArrayOutput
type ItemArrayInput ¶
type ItemArrayInput interface { pulumi.Input ToItemArrayOutput() ItemArrayOutput ToItemArrayOutputWithContext(context.Context) ItemArrayOutput }
ItemArrayInput is an input type that accepts ItemArray and ItemArrayOutput values. You can construct a concrete instance of `ItemArrayInput` via:
ItemArray{ ItemArgs{...} }
type ItemArrayOutput ¶
type ItemArrayOutput struct{ *pulumi.OutputState }
func (ItemArrayOutput) ElementType ¶
func (ItemArrayOutput) ElementType() reflect.Type
func (ItemArrayOutput) Index ¶
func (o ItemArrayOutput) Index(i pulumi.IntInput) ItemOutput
func (ItemArrayOutput) ToItemArrayOutput ¶
func (o ItemArrayOutput) ToItemArrayOutput() ItemArrayOutput
func (ItemArrayOutput) ToItemArrayOutputWithContext ¶
func (o ItemArrayOutput) ToItemArrayOutputWithContext(ctx context.Context) ItemArrayOutput
type ItemInput ¶
type ItemInput interface { pulumi.Input ToItemOutput() ItemOutput ToItemOutputWithContext(ctx context.Context) ItemOutput }
type ItemMap ¶
func (ItemMap) ElementType ¶
func (ItemMap) ToItemMapOutput ¶
func (i ItemMap) ToItemMapOutput() ItemMapOutput
func (ItemMap) ToItemMapOutputWithContext ¶
func (i ItemMap) ToItemMapOutputWithContext(ctx context.Context) ItemMapOutput
type ItemMapInput ¶
type ItemMapInput interface { pulumi.Input ToItemMapOutput() ItemMapOutput ToItemMapOutputWithContext(context.Context) ItemMapOutput }
ItemMapInput is an input type that accepts ItemMap and ItemMapOutput values. You can construct a concrete instance of `ItemMapInput` via:
ItemMap{ "key": ItemArgs{...} }
type ItemMapOutput ¶
type ItemMapOutput struct{ *pulumi.OutputState }
func (ItemMapOutput) ElementType ¶
func (ItemMapOutput) ElementType() reflect.Type
func (ItemMapOutput) MapIndex ¶
func (o ItemMapOutput) MapIndex(k pulumi.StringInput) ItemOutput
func (ItemMapOutput) ToItemMapOutput ¶
func (o ItemMapOutput) ToItemMapOutput() ItemMapOutput
func (ItemMapOutput) ToItemMapOutputWithContext ¶
func (o ItemMapOutput) ToItemMapOutputWithContext(ctx context.Context) ItemMapOutput
type ItemOutput ¶
type ItemOutput struct{ *pulumi.OutputState }
func (ItemOutput) Category ¶
func (o ItemOutput) Category() pulumi.StringOutput
The category of the item. One of ["login" "password" "database" "secureNote"]
func (ItemOutput) Database ¶
func (o ItemOutput) Database() pulumi.StringPtrOutput
(Only applies to the database category) The name of the database.
func (ItemOutput) ElementType ¶
func (ItemOutput) ElementType() reflect.Type
func (ItemOutput) Hostname ¶
func (o ItemOutput) Hostname() pulumi.StringPtrOutput
(Only applies to the database category) The address where the database can be found
func (ItemOutput) NoteValue ¶ added in v1.1.0
func (o ItemOutput) NoteValue() pulumi.StringPtrOutput
Secure Note value.
func (ItemOutput) Password ¶
func (o ItemOutput) Password() pulumi.StringOutput
Password for this item.
func (ItemOutput) PasswordRecipe ¶
func (o ItemOutput) PasswordRecipe() ItemPasswordRecipePtrOutput
The recipe used to generate a new value for a password.
func (ItemOutput) Port ¶
func (o ItemOutput) Port() pulumi.StringPtrOutput
(Only applies to the database category) The port the database is listening on.
func (ItemOutput) Sections ¶
func (o ItemOutput) Sections() ItemSectionArrayOutput
A list of custom sections in an item
func (ItemOutput) Tags ¶
func (o ItemOutput) Tags() pulumi.StringArrayOutput
An array of strings of the tags assigned to the item.
func (ItemOutput) ToItemOutput ¶
func (o ItemOutput) ToItemOutput() ItemOutput
func (ItemOutput) ToItemOutputWithContext ¶
func (o ItemOutput) ToItemOutputWithContext(ctx context.Context) ItemOutput
func (ItemOutput) Type ¶
func (o ItemOutput) Type() pulumi.StringPtrOutput
(Only applies to the database category) The type of database. One of ["db2" "filemaker" "msaccess" "mssql" "mysql" "oracle" "postgresql" "sqlite" "other"]
func (ItemOutput) Url ¶
func (o ItemOutput) Url() pulumi.StringPtrOutput
The primary URL for the item.
func (ItemOutput) Username ¶
func (o ItemOutput) Username() pulumi.StringPtrOutput
Username for this item.
func (ItemOutput) Uuid ¶
func (o ItemOutput) Uuid() pulumi.StringOutput
The UUID of the item. Item identifiers are unique within a specific vault.
func (ItemOutput) Vault ¶
func (o ItemOutput) Vault() pulumi.StringOutput
The UUID of the vault the item is in.
type ItemPasswordRecipe ¶
type ItemPasswordRecipe struct { // Use digits [0-9] when generating the password. Digits *bool `pulumi:"digits"` // The length of the password to be generated. Length *int `pulumi:"length"` // Use letters [a-zA-Z] when generating the password. Letters *bool `pulumi:"letters"` // Use symbols [!@.-_*] when generating the password. Symbols *bool `pulumi:"symbols"` }
type ItemPasswordRecipeArgs ¶
type ItemPasswordRecipeArgs struct { // Use digits [0-9] when generating the password. Digits pulumi.BoolPtrInput `pulumi:"digits"` // The length of the password to be generated. Length pulumi.IntPtrInput `pulumi:"length"` // Use letters [a-zA-Z] when generating the password. Letters pulumi.BoolPtrInput `pulumi:"letters"` // Use symbols [!@.-_*] when generating the password. Symbols pulumi.BoolPtrInput `pulumi:"symbols"` }
func (ItemPasswordRecipeArgs) ElementType ¶
func (ItemPasswordRecipeArgs) ElementType() reflect.Type
func (ItemPasswordRecipeArgs) ToItemPasswordRecipeOutput ¶
func (i ItemPasswordRecipeArgs) ToItemPasswordRecipeOutput() ItemPasswordRecipeOutput
func (ItemPasswordRecipeArgs) ToItemPasswordRecipeOutputWithContext ¶
func (i ItemPasswordRecipeArgs) ToItemPasswordRecipeOutputWithContext(ctx context.Context) ItemPasswordRecipeOutput
func (ItemPasswordRecipeArgs) ToItemPasswordRecipePtrOutput ¶
func (i ItemPasswordRecipeArgs) ToItemPasswordRecipePtrOutput() ItemPasswordRecipePtrOutput
func (ItemPasswordRecipeArgs) ToItemPasswordRecipePtrOutputWithContext ¶
func (i ItemPasswordRecipeArgs) ToItemPasswordRecipePtrOutputWithContext(ctx context.Context) ItemPasswordRecipePtrOutput
type ItemPasswordRecipeInput ¶
type ItemPasswordRecipeInput interface { pulumi.Input ToItemPasswordRecipeOutput() ItemPasswordRecipeOutput ToItemPasswordRecipeOutputWithContext(context.Context) ItemPasswordRecipeOutput }
ItemPasswordRecipeInput is an input type that accepts ItemPasswordRecipeArgs and ItemPasswordRecipeOutput values. You can construct a concrete instance of `ItemPasswordRecipeInput` via:
ItemPasswordRecipeArgs{...}
type ItemPasswordRecipeOutput ¶
type ItemPasswordRecipeOutput struct{ *pulumi.OutputState }
func (ItemPasswordRecipeOutput) Digits ¶
func (o ItemPasswordRecipeOutput) Digits() pulumi.BoolPtrOutput
Use digits [0-9] when generating the password.
func (ItemPasswordRecipeOutput) ElementType ¶
func (ItemPasswordRecipeOutput) ElementType() reflect.Type
func (ItemPasswordRecipeOutput) Length ¶
func (o ItemPasswordRecipeOutput) Length() pulumi.IntPtrOutput
The length of the password to be generated.
func (ItemPasswordRecipeOutput) Letters ¶
func (o ItemPasswordRecipeOutput) Letters() pulumi.BoolPtrOutput
Use letters [a-zA-Z] when generating the password.
func (ItemPasswordRecipeOutput) Symbols ¶
func (o ItemPasswordRecipeOutput) Symbols() pulumi.BoolPtrOutput
Use symbols [!@.-_*] when generating the password.
func (ItemPasswordRecipeOutput) ToItemPasswordRecipeOutput ¶
func (o ItemPasswordRecipeOutput) ToItemPasswordRecipeOutput() ItemPasswordRecipeOutput
func (ItemPasswordRecipeOutput) ToItemPasswordRecipeOutputWithContext ¶
func (o ItemPasswordRecipeOutput) ToItemPasswordRecipeOutputWithContext(ctx context.Context) ItemPasswordRecipeOutput
func (ItemPasswordRecipeOutput) ToItemPasswordRecipePtrOutput ¶
func (o ItemPasswordRecipeOutput) ToItemPasswordRecipePtrOutput() ItemPasswordRecipePtrOutput
func (ItemPasswordRecipeOutput) ToItemPasswordRecipePtrOutputWithContext ¶
func (o ItemPasswordRecipeOutput) ToItemPasswordRecipePtrOutputWithContext(ctx context.Context) ItemPasswordRecipePtrOutput
type ItemPasswordRecipePtrInput ¶
type ItemPasswordRecipePtrInput interface { pulumi.Input ToItemPasswordRecipePtrOutput() ItemPasswordRecipePtrOutput ToItemPasswordRecipePtrOutputWithContext(context.Context) ItemPasswordRecipePtrOutput }
ItemPasswordRecipePtrInput is an input type that accepts ItemPasswordRecipeArgs, ItemPasswordRecipePtr and ItemPasswordRecipePtrOutput values. You can construct a concrete instance of `ItemPasswordRecipePtrInput` via:
ItemPasswordRecipeArgs{...} or: nil
func ItemPasswordRecipePtr ¶
func ItemPasswordRecipePtr(v *ItemPasswordRecipeArgs) ItemPasswordRecipePtrInput
type ItemPasswordRecipePtrOutput ¶
type ItemPasswordRecipePtrOutput struct{ *pulumi.OutputState }
func (ItemPasswordRecipePtrOutput) Digits ¶
func (o ItemPasswordRecipePtrOutput) Digits() pulumi.BoolPtrOutput
Use digits [0-9] when generating the password.
func (ItemPasswordRecipePtrOutput) Elem ¶
func (o ItemPasswordRecipePtrOutput) Elem() ItemPasswordRecipeOutput
func (ItemPasswordRecipePtrOutput) ElementType ¶
func (ItemPasswordRecipePtrOutput) ElementType() reflect.Type
func (ItemPasswordRecipePtrOutput) Length ¶
func (o ItemPasswordRecipePtrOutput) Length() pulumi.IntPtrOutput
The length of the password to be generated.
func (ItemPasswordRecipePtrOutput) Letters ¶
func (o ItemPasswordRecipePtrOutput) Letters() pulumi.BoolPtrOutput
Use letters [a-zA-Z] when generating the password.
func (ItemPasswordRecipePtrOutput) Symbols ¶
func (o ItemPasswordRecipePtrOutput) Symbols() pulumi.BoolPtrOutput
Use symbols [!@.-_*] when generating the password.
func (ItemPasswordRecipePtrOutput) ToItemPasswordRecipePtrOutput ¶
func (o ItemPasswordRecipePtrOutput) ToItemPasswordRecipePtrOutput() ItemPasswordRecipePtrOutput
func (ItemPasswordRecipePtrOutput) ToItemPasswordRecipePtrOutputWithContext ¶
func (o ItemPasswordRecipePtrOutput) ToItemPasswordRecipePtrOutputWithContext(ctx context.Context) ItemPasswordRecipePtrOutput
type ItemSection ¶
type ItemSection struct { // A list of custom fields in the section. Fields []ItemSectionField `pulumi:"fields"` // A unique identifier for the section. Id *string `pulumi:"id"` // The label for the section. Label string `pulumi:"label"` }
type ItemSectionArgs ¶
type ItemSectionArgs struct { // A list of custom fields in the section. Fields ItemSectionFieldArrayInput `pulumi:"fields"` // A unique identifier for the section. Id pulumi.StringPtrInput `pulumi:"id"` // The label for the section. Label pulumi.StringInput `pulumi:"label"` }
func (ItemSectionArgs) ElementType ¶
func (ItemSectionArgs) ElementType() reflect.Type
func (ItemSectionArgs) ToItemSectionOutput ¶
func (i ItemSectionArgs) ToItemSectionOutput() ItemSectionOutput
func (ItemSectionArgs) ToItemSectionOutputWithContext ¶
func (i ItemSectionArgs) ToItemSectionOutputWithContext(ctx context.Context) ItemSectionOutput
type ItemSectionArray ¶
type ItemSectionArray []ItemSectionInput
func (ItemSectionArray) ElementType ¶
func (ItemSectionArray) ElementType() reflect.Type
func (ItemSectionArray) ToItemSectionArrayOutput ¶
func (i ItemSectionArray) ToItemSectionArrayOutput() ItemSectionArrayOutput
func (ItemSectionArray) ToItemSectionArrayOutputWithContext ¶
func (i ItemSectionArray) ToItemSectionArrayOutputWithContext(ctx context.Context) ItemSectionArrayOutput
type ItemSectionArrayInput ¶
type ItemSectionArrayInput interface { pulumi.Input ToItemSectionArrayOutput() ItemSectionArrayOutput ToItemSectionArrayOutputWithContext(context.Context) ItemSectionArrayOutput }
ItemSectionArrayInput is an input type that accepts ItemSectionArray and ItemSectionArrayOutput values. You can construct a concrete instance of `ItemSectionArrayInput` via:
ItemSectionArray{ ItemSectionArgs{...} }
type ItemSectionArrayOutput ¶
type ItemSectionArrayOutput struct{ *pulumi.OutputState }
func (ItemSectionArrayOutput) ElementType ¶
func (ItemSectionArrayOutput) ElementType() reflect.Type
func (ItemSectionArrayOutput) Index ¶
func (o ItemSectionArrayOutput) Index(i pulumi.IntInput) ItemSectionOutput
func (ItemSectionArrayOutput) ToItemSectionArrayOutput ¶
func (o ItemSectionArrayOutput) ToItemSectionArrayOutput() ItemSectionArrayOutput
func (ItemSectionArrayOutput) ToItemSectionArrayOutputWithContext ¶
func (o ItemSectionArrayOutput) ToItemSectionArrayOutputWithContext(ctx context.Context) ItemSectionArrayOutput
type ItemSectionField ¶
type ItemSectionField struct { // A unique identifier for the field. Id *string `pulumi:"id"` // The label for the field. Label string `pulumi:"label"` // The recipe used to generate a new value for a password. PasswordRecipe *ItemSectionFieldPasswordRecipe `pulumi:"passwordRecipe"` // Purpose indicates this is a special field: a username, password, or notes field. One of ["USERNAME" "PASSWORD" "NOTES"] Purpose *string `pulumi:"purpose"` // The type of value stored in the field. One of ["STRING" "CONCEALED" "EMAIL" "URL" "OTP" "DATE" "MONTH_YEAR" "MENU"] Type *string `pulumi:"type"` // The value of the field. Value *string `pulumi:"value"` }
type ItemSectionFieldArgs ¶
type ItemSectionFieldArgs struct { // A unique identifier for the field. Id pulumi.StringPtrInput `pulumi:"id"` // The label for the field. Label pulumi.StringInput `pulumi:"label"` // The recipe used to generate a new value for a password. PasswordRecipe ItemSectionFieldPasswordRecipePtrInput `pulumi:"passwordRecipe"` // Purpose indicates this is a special field: a username, password, or notes field. One of ["USERNAME" "PASSWORD" "NOTES"] Purpose pulumi.StringPtrInput `pulumi:"purpose"` // The type of value stored in the field. One of ["STRING" "CONCEALED" "EMAIL" "URL" "OTP" "DATE" "MONTH_YEAR" "MENU"] Type pulumi.StringPtrInput `pulumi:"type"` // The value of the field. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ItemSectionFieldArgs) ElementType ¶
func (ItemSectionFieldArgs) ElementType() reflect.Type
func (ItemSectionFieldArgs) ToItemSectionFieldOutput ¶
func (i ItemSectionFieldArgs) ToItemSectionFieldOutput() ItemSectionFieldOutput
func (ItemSectionFieldArgs) ToItemSectionFieldOutputWithContext ¶
func (i ItemSectionFieldArgs) ToItemSectionFieldOutputWithContext(ctx context.Context) ItemSectionFieldOutput
type ItemSectionFieldArray ¶
type ItemSectionFieldArray []ItemSectionFieldInput
func (ItemSectionFieldArray) ElementType ¶
func (ItemSectionFieldArray) ElementType() reflect.Type
func (ItemSectionFieldArray) ToItemSectionFieldArrayOutput ¶
func (i ItemSectionFieldArray) ToItemSectionFieldArrayOutput() ItemSectionFieldArrayOutput
func (ItemSectionFieldArray) ToItemSectionFieldArrayOutputWithContext ¶
func (i ItemSectionFieldArray) ToItemSectionFieldArrayOutputWithContext(ctx context.Context) ItemSectionFieldArrayOutput
type ItemSectionFieldArrayInput ¶
type ItemSectionFieldArrayInput interface { pulumi.Input ToItemSectionFieldArrayOutput() ItemSectionFieldArrayOutput ToItemSectionFieldArrayOutputWithContext(context.Context) ItemSectionFieldArrayOutput }
ItemSectionFieldArrayInput is an input type that accepts ItemSectionFieldArray and ItemSectionFieldArrayOutput values. You can construct a concrete instance of `ItemSectionFieldArrayInput` via:
ItemSectionFieldArray{ ItemSectionFieldArgs{...} }
type ItemSectionFieldArrayOutput ¶
type ItemSectionFieldArrayOutput struct{ *pulumi.OutputState }
func (ItemSectionFieldArrayOutput) ElementType ¶
func (ItemSectionFieldArrayOutput) ElementType() reflect.Type
func (ItemSectionFieldArrayOutput) Index ¶
func (o ItemSectionFieldArrayOutput) Index(i pulumi.IntInput) ItemSectionFieldOutput
func (ItemSectionFieldArrayOutput) ToItemSectionFieldArrayOutput ¶
func (o ItemSectionFieldArrayOutput) ToItemSectionFieldArrayOutput() ItemSectionFieldArrayOutput
func (ItemSectionFieldArrayOutput) ToItemSectionFieldArrayOutputWithContext ¶
func (o ItemSectionFieldArrayOutput) ToItemSectionFieldArrayOutputWithContext(ctx context.Context) ItemSectionFieldArrayOutput
type ItemSectionFieldInput ¶
type ItemSectionFieldInput interface { pulumi.Input ToItemSectionFieldOutput() ItemSectionFieldOutput ToItemSectionFieldOutputWithContext(context.Context) ItemSectionFieldOutput }
ItemSectionFieldInput is an input type that accepts ItemSectionFieldArgs and ItemSectionFieldOutput values. You can construct a concrete instance of `ItemSectionFieldInput` via:
ItemSectionFieldArgs{...}
type ItemSectionFieldOutput ¶
type ItemSectionFieldOutput struct{ *pulumi.OutputState }
func (ItemSectionFieldOutput) ElementType ¶
func (ItemSectionFieldOutput) ElementType() reflect.Type
func (ItemSectionFieldOutput) Id ¶
func (o ItemSectionFieldOutput) Id() pulumi.StringPtrOutput
A unique identifier for the field.
func (ItemSectionFieldOutput) Label ¶
func (o ItemSectionFieldOutput) Label() pulumi.StringOutput
The label for the field.
func (ItemSectionFieldOutput) PasswordRecipe ¶
func (o ItemSectionFieldOutput) PasswordRecipe() ItemSectionFieldPasswordRecipePtrOutput
The recipe used to generate a new value for a password.
func (ItemSectionFieldOutput) Purpose ¶
func (o ItemSectionFieldOutput) Purpose() pulumi.StringPtrOutput
Purpose indicates this is a special field: a username, password, or notes field. One of ["USERNAME" "PASSWORD" "NOTES"]
func (ItemSectionFieldOutput) ToItemSectionFieldOutput ¶
func (o ItemSectionFieldOutput) ToItemSectionFieldOutput() ItemSectionFieldOutput
func (ItemSectionFieldOutput) ToItemSectionFieldOutputWithContext ¶
func (o ItemSectionFieldOutput) ToItemSectionFieldOutputWithContext(ctx context.Context) ItemSectionFieldOutput
func (ItemSectionFieldOutput) Type ¶
func (o ItemSectionFieldOutput) Type() pulumi.StringPtrOutput
The type of value stored in the field. One of ["STRING" "CONCEALED" "EMAIL" "URL" "OTP" "DATE" "MONTH_YEAR" "MENU"]
func (ItemSectionFieldOutput) Value ¶
func (o ItemSectionFieldOutput) Value() pulumi.StringPtrOutput
The value of the field.
type ItemSectionFieldPasswordRecipe ¶
type ItemSectionFieldPasswordRecipe struct { // Use digits [0-9] when generating the password. Digits *bool `pulumi:"digits"` // The length of the password to be generated. Length *int `pulumi:"length"` // Use letters [a-zA-Z] when generating the password. Letters *bool `pulumi:"letters"` // Use symbols [!@.-_*] when generating the password. Symbols *bool `pulumi:"symbols"` }
type ItemSectionFieldPasswordRecipeArgs ¶
type ItemSectionFieldPasswordRecipeArgs struct { // Use digits [0-9] when generating the password. Digits pulumi.BoolPtrInput `pulumi:"digits"` // The length of the password to be generated. Length pulumi.IntPtrInput `pulumi:"length"` // Use letters [a-zA-Z] when generating the password. Letters pulumi.BoolPtrInput `pulumi:"letters"` // Use symbols [!@.-_*] when generating the password. Symbols pulumi.BoolPtrInput `pulumi:"symbols"` }
func (ItemSectionFieldPasswordRecipeArgs) ElementType ¶
func (ItemSectionFieldPasswordRecipeArgs) ElementType() reflect.Type
func (ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipeOutput ¶
func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipeOutput() ItemSectionFieldPasswordRecipeOutput
func (ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipeOutputWithContext ¶
func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipeOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipeOutput
func (ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipePtrOutput ¶
func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipePtrOutput() ItemSectionFieldPasswordRecipePtrOutput
func (ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipePtrOutputWithContext ¶
func (i ItemSectionFieldPasswordRecipeArgs) ToItemSectionFieldPasswordRecipePtrOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipePtrOutput
type ItemSectionFieldPasswordRecipeInput ¶
type ItemSectionFieldPasswordRecipeInput interface { pulumi.Input ToItemSectionFieldPasswordRecipeOutput() ItemSectionFieldPasswordRecipeOutput ToItemSectionFieldPasswordRecipeOutputWithContext(context.Context) ItemSectionFieldPasswordRecipeOutput }
ItemSectionFieldPasswordRecipeInput is an input type that accepts ItemSectionFieldPasswordRecipeArgs and ItemSectionFieldPasswordRecipeOutput values. You can construct a concrete instance of `ItemSectionFieldPasswordRecipeInput` via:
ItemSectionFieldPasswordRecipeArgs{...}
type ItemSectionFieldPasswordRecipeOutput ¶
type ItemSectionFieldPasswordRecipeOutput struct{ *pulumi.OutputState }
func (ItemSectionFieldPasswordRecipeOutput) Digits ¶
func (o ItemSectionFieldPasswordRecipeOutput) Digits() pulumi.BoolPtrOutput
Use digits [0-9] when generating the password.
func (ItemSectionFieldPasswordRecipeOutput) ElementType ¶
func (ItemSectionFieldPasswordRecipeOutput) ElementType() reflect.Type
func (ItemSectionFieldPasswordRecipeOutput) Length ¶
func (o ItemSectionFieldPasswordRecipeOutput) Length() pulumi.IntPtrOutput
The length of the password to be generated.
func (ItemSectionFieldPasswordRecipeOutput) Letters ¶
func (o ItemSectionFieldPasswordRecipeOutput) Letters() pulumi.BoolPtrOutput
Use letters [a-zA-Z] when generating the password.
func (ItemSectionFieldPasswordRecipeOutput) Symbols ¶
func (o ItemSectionFieldPasswordRecipeOutput) Symbols() pulumi.BoolPtrOutput
Use symbols [!@.-_*] when generating the password.
func (ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipeOutput ¶
func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipeOutput() ItemSectionFieldPasswordRecipeOutput
func (ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipeOutputWithContext ¶
func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipeOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipeOutput
func (ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipePtrOutput ¶
func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipePtrOutput() ItemSectionFieldPasswordRecipePtrOutput
func (ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipePtrOutputWithContext ¶
func (o ItemSectionFieldPasswordRecipeOutput) ToItemSectionFieldPasswordRecipePtrOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipePtrOutput
type ItemSectionFieldPasswordRecipePtrInput ¶
type ItemSectionFieldPasswordRecipePtrInput interface { pulumi.Input ToItemSectionFieldPasswordRecipePtrOutput() ItemSectionFieldPasswordRecipePtrOutput ToItemSectionFieldPasswordRecipePtrOutputWithContext(context.Context) ItemSectionFieldPasswordRecipePtrOutput }
ItemSectionFieldPasswordRecipePtrInput is an input type that accepts ItemSectionFieldPasswordRecipeArgs, ItemSectionFieldPasswordRecipePtr and ItemSectionFieldPasswordRecipePtrOutput values. You can construct a concrete instance of `ItemSectionFieldPasswordRecipePtrInput` via:
ItemSectionFieldPasswordRecipeArgs{...} or: nil
func ItemSectionFieldPasswordRecipePtr ¶
func ItemSectionFieldPasswordRecipePtr(v *ItemSectionFieldPasswordRecipeArgs) ItemSectionFieldPasswordRecipePtrInput
type ItemSectionFieldPasswordRecipePtrOutput ¶
type ItemSectionFieldPasswordRecipePtrOutput struct{ *pulumi.OutputState }
func (ItemSectionFieldPasswordRecipePtrOutput) Digits ¶
func (o ItemSectionFieldPasswordRecipePtrOutput) Digits() pulumi.BoolPtrOutput
Use digits [0-9] when generating the password.
func (ItemSectionFieldPasswordRecipePtrOutput) ElementType ¶
func (ItemSectionFieldPasswordRecipePtrOutput) ElementType() reflect.Type
func (ItemSectionFieldPasswordRecipePtrOutput) Length ¶
func (o ItemSectionFieldPasswordRecipePtrOutput) Length() pulumi.IntPtrOutput
The length of the password to be generated.
func (ItemSectionFieldPasswordRecipePtrOutput) Letters ¶
func (o ItemSectionFieldPasswordRecipePtrOutput) Letters() pulumi.BoolPtrOutput
Use letters [a-zA-Z] when generating the password.
func (ItemSectionFieldPasswordRecipePtrOutput) Symbols ¶
func (o ItemSectionFieldPasswordRecipePtrOutput) Symbols() pulumi.BoolPtrOutput
Use symbols [!@.-_*] when generating the password.
func (ItemSectionFieldPasswordRecipePtrOutput) ToItemSectionFieldPasswordRecipePtrOutput ¶
func (o ItemSectionFieldPasswordRecipePtrOutput) ToItemSectionFieldPasswordRecipePtrOutput() ItemSectionFieldPasswordRecipePtrOutput
func (ItemSectionFieldPasswordRecipePtrOutput) ToItemSectionFieldPasswordRecipePtrOutputWithContext ¶
func (o ItemSectionFieldPasswordRecipePtrOutput) ToItemSectionFieldPasswordRecipePtrOutputWithContext(ctx context.Context) ItemSectionFieldPasswordRecipePtrOutput
type ItemSectionInput ¶
type ItemSectionInput interface { pulumi.Input ToItemSectionOutput() ItemSectionOutput ToItemSectionOutputWithContext(context.Context) ItemSectionOutput }
ItemSectionInput is an input type that accepts ItemSectionArgs and ItemSectionOutput values. You can construct a concrete instance of `ItemSectionInput` via:
ItemSectionArgs{...}
type ItemSectionOutput ¶
type ItemSectionOutput struct{ *pulumi.OutputState }
func (ItemSectionOutput) ElementType ¶
func (ItemSectionOutput) ElementType() reflect.Type
func (ItemSectionOutput) Fields ¶
func (o ItemSectionOutput) Fields() ItemSectionFieldArrayOutput
A list of custom fields in the section.
func (ItemSectionOutput) Id ¶
func (o ItemSectionOutput) Id() pulumi.StringPtrOutput
A unique identifier for the section.
func (ItemSectionOutput) Label ¶
func (o ItemSectionOutput) Label() pulumi.StringOutput
The label for the section.
func (ItemSectionOutput) ToItemSectionOutput ¶
func (o ItemSectionOutput) ToItemSectionOutput() ItemSectionOutput
func (ItemSectionOutput) ToItemSectionOutputWithContext ¶
func (o ItemSectionOutput) ToItemSectionOutputWithContext(ctx context.Context) ItemSectionOutput
type ItemState ¶
type ItemState struct { // The category of the item. One of ["login" "password" "database" "secureNote"] Category pulumi.StringPtrInput // (Only applies to the database category) The name of the database. Database pulumi.StringPtrInput // (Only applies to the database category) The address where the database can be found Hostname pulumi.StringPtrInput // Secure Note value. NoteValue pulumi.StringPtrInput // Password for this item. Password pulumi.StringPtrInput // The recipe used to generate a new value for a password. PasswordRecipe ItemPasswordRecipePtrInput // (Only applies to the database category) The port the database is listening on. Port pulumi.StringPtrInput // A list of custom sections in an item Sections ItemSectionArrayInput // An array of strings of the tags assigned to the item. Tags pulumi.StringArrayInput // The title of the item. Title pulumi.StringPtrInput // (Only applies to the database category) The type of database. One of ["db2" "filemaker" "msaccess" "mssql" "mysql" "oracle" "postgresql" "sqlite" "other"] Type pulumi.StringPtrInput // The primary URL for the item. Url pulumi.StringPtrInput // Username for this item. Username pulumi.StringPtrInput // The UUID of the item. Item identifiers are unique within a specific vault. Uuid pulumi.StringPtrInput // The UUID of the vault the item is in. Vault pulumi.StringPtrInput }
func (ItemState) ElementType ¶
type LookupItemArgs ¶
type LookupItemArgs struct { // A list of files attached to the item. Files []GetItemFile `pulumi:"files"` // Secure Note value. NoteValue *string `pulumi:"noteValue"` // A list of custom sections in an item Sections []GetItemSection `pulumi:"sections"` // 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. Title *string `pulumi:"title"` // 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. Uuid *string `pulumi:"uuid"` // The UUID of the vault the item is in. Vault string `pulumi:"vault"` }
A collection of arguments for invoking getItem.
type LookupItemOutputArgs ¶
type LookupItemOutputArgs struct { // A list of files attached to the item. Files GetItemFileArrayInput `pulumi:"files"` // Secure Note value. NoteValue pulumi.StringPtrInput `pulumi:"noteValue"` // A list of custom sections in an item Sections GetItemSectionArrayInput `pulumi:"sections"` // 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. Title pulumi.StringPtrInput `pulumi:"title"` // 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. Uuid pulumi.StringPtrInput `pulumi:"uuid"` // The UUID of the vault the item is in. Vault pulumi.StringInput `pulumi:"vault"` }
A collection of arguments for invoking getItem.
func (LookupItemOutputArgs) ElementType ¶
func (LookupItemOutputArgs) ElementType() reflect.Type
type LookupItemResult ¶
type LookupItemResult struct { // The category of the item. One of ["login" "password" "database" "secure*note" "document" "ssh*key"] Category string `pulumi:"category"` // API credential for this item. Credential string `pulumi:"credential"` // (Only applies to the database category) The name of the database. Database string `pulumi:"database"` // A list of files attached to the item. Files []GetItemFile `pulumi:"files"` // (Only applies to the database category) The address where the database can be found Hostname string `pulumi:"hostname"` Id string `pulumi:"id"` // Secure Note value. NoteValue string `pulumi:"noteValue"` // Password for this item. Password string `pulumi:"password"` // (Only applies to the database category) The port the database is listening on. Port string `pulumi:"port"` // SSH Private Key for this item. PrivateKey string `pulumi:"privateKey"` // SSH Public Key for this item. PublicKey string `pulumi:"publicKey"` // A list of custom sections in an item Sections []GetItemSection `pulumi:"sections"` // An array of strings of the tags assigned to the item. Tags []string `pulumi:"tags"` // 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. Title string `pulumi:"title"` // (Only applies to the database category) The type of database. One of ["db2" "filemaker" "msaccess" "mssql" "mysql" "oracle" "postgresql" "sqlite" "other"] Type string `pulumi:"type"` // The primary URL for the item. Url string `pulumi:"url"` // Username for this item. Username string `pulumi:"username"` // 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. Uuid string `pulumi:"uuid"` // The UUID of the vault the item is in. Vault string `pulumi:"vault"` }
A collection of values returned by getItem.
func LookupItem ¶
func LookupItem(ctx *pulumi.Context, args *LookupItemArgs, opts ...pulumi.InvokeOption) (*LookupItemResult, error)
Use this data source to get details of an item by its vault uuid and either the title or the uuid of the item.
## Example Usage
```go package main
import (
"github.com/1Password/pulumi-onepassword/sdk/go/onepassword" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := onepassword.LookupItem(ctx, &onepassword.LookupItemArgs{ Title: pulumi.StringRef("your-item-title"), Vault: "your-vault-id", }, nil) if err != nil { return err } return nil }) }
```
type LookupItemResultOutput ¶
type LookupItemResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getItem.
func LookupItemOutput ¶
func LookupItemOutput(ctx *pulumi.Context, args LookupItemOutputArgs, opts ...pulumi.InvokeOption) LookupItemResultOutput
func (LookupItemResultOutput) Category ¶
func (o LookupItemResultOutput) Category() pulumi.StringOutput
The category of the item. One of ["login" "password" "database" "secure*note" "document" "ssh*key"]
func (LookupItemResultOutput) Credential ¶ added in v1.1.0
func (o LookupItemResultOutput) Credential() pulumi.StringOutput
API credential for this item.
func (LookupItemResultOutput) Database ¶
func (o LookupItemResultOutput) Database() pulumi.StringOutput
(Only applies to the database category) The name of the database.
func (LookupItemResultOutput) ElementType ¶
func (LookupItemResultOutput) ElementType() reflect.Type
func (LookupItemResultOutput) Files ¶ added in v1.1.0
func (o LookupItemResultOutput) Files() GetItemFileArrayOutput
A list of files attached to the item.
func (LookupItemResultOutput) Hostname ¶
func (o LookupItemResultOutput) Hostname() pulumi.StringOutput
(Only applies to the database category) The address where the database can be found
func (LookupItemResultOutput) Id ¶
func (o LookupItemResultOutput) Id() pulumi.StringOutput
func (LookupItemResultOutput) NoteValue ¶
func (o LookupItemResultOutput) NoteValue() pulumi.StringOutput
Secure Note value.
func (LookupItemResultOutput) Password ¶
func (o LookupItemResultOutput) Password() pulumi.StringOutput
Password for this item.
func (LookupItemResultOutput) Port ¶
func (o LookupItemResultOutput) Port() pulumi.StringOutput
(Only applies to the database category) The port the database is listening on.
func (LookupItemResultOutput) PrivateKey ¶ added in v1.1.0
func (o LookupItemResultOutput) PrivateKey() pulumi.StringOutput
SSH Private Key for this item.
func (LookupItemResultOutput) PublicKey ¶ added in v1.1.0
func (o LookupItemResultOutput) PublicKey() pulumi.StringOutput
SSH Public Key for this item.
func (LookupItemResultOutput) Sections ¶
func (o LookupItemResultOutput) Sections() GetItemSectionArrayOutput
A list of custom sections in an item
func (LookupItemResultOutput) Tags ¶
func (o LookupItemResultOutput) Tags() pulumi.StringArrayOutput
An array of strings of the tags assigned to the item.
func (LookupItemResultOutput) Title ¶
func (o LookupItemResultOutput) Title() pulumi.StringOutput
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.
func (LookupItemResultOutput) ToLookupItemResultOutput ¶
func (o LookupItemResultOutput) ToLookupItemResultOutput() LookupItemResultOutput
func (LookupItemResultOutput) ToLookupItemResultOutputWithContext ¶
func (o LookupItemResultOutput) ToLookupItemResultOutputWithContext(ctx context.Context) LookupItemResultOutput
func (LookupItemResultOutput) Type ¶
func (o LookupItemResultOutput) Type() pulumi.StringOutput
(Only applies to the database category) The type of database. One of ["db2" "filemaker" "msaccess" "mssql" "mysql" "oracle" "postgresql" "sqlite" "other"]
func (LookupItemResultOutput) Url ¶
func (o LookupItemResultOutput) Url() pulumi.StringOutput
The primary URL for the item.
func (LookupItemResultOutput) Username ¶
func (o LookupItemResultOutput) Username() pulumi.StringOutput
Username for this item.
func (LookupItemResultOutput) Uuid ¶
func (o LookupItemResultOutput) Uuid() pulumi.StringOutput
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.
func (LookupItemResultOutput) Vault ¶
func (o LookupItemResultOutput) Vault() pulumi.StringOutput
The UUID of the vault the item is in.
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // A valid account's sign-in address or ID to use biometrics unlock. Can also be sourced from `OP_ACCOUNT` environment // variable. Provider will use the 1Password CLI if set. Account pulumi.StringPtrOutput `pulumi:"account"` // The path to the 1Password CLI binary. Can also be sourced from `OP_CLI_PATH` environment variable. Defaults to `op`. OpCliPath pulumi.StringPtrOutput `pulumi:"opCliPath"` // A valid 1Password service account token. Can also be sourced from `OP_SERVICE_ACCOUNT_TOKEN` environment variable. // Provider will use the 1Password CLI if set. ServiceAccountToken pulumi.StringPtrOutput `pulumi:"serviceAccountToken"` // A valid token for your 1Password Connect server. Can also be sourced from `OP_CONNECT_TOKEN` environment variable. // Provider will use 1Password Connect server if set. Token pulumi.StringPtrOutput `pulumi:"token"` // The HTTP(S) URL where your 1Password Connect server can be found. Can also be sourced `OP_CONNECT_HOST` environment // variable. Provider will use 1Password Connect server if set. Url pulumi.StringPtrOutput `pulumi:"url"` }
The provider type for the onepassword package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // A valid account's sign-in address or ID to use biometrics unlock. Can also be sourced from `OP_ACCOUNT` environment // variable. Provider will use the 1Password CLI if set. Account pulumi.StringPtrInput // The path to the 1Password CLI binary. Can also be sourced from `OP_CLI_PATH` environment variable. Defaults to `op`. OpCliPath pulumi.StringPtrInput // A valid 1Password service account token. Can also be sourced from `OP_SERVICE_ACCOUNT_TOKEN` environment variable. // Provider will use the 1Password CLI if set. ServiceAccountToken pulumi.StringPtrInput // A valid token for your 1Password Connect server. Can also be sourced from `OP_CONNECT_TOKEN` environment variable. // Provider will use 1Password Connect server if set. Token pulumi.StringPtrInput // The HTTP(S) URL where your 1Password Connect server can be found. Can also be sourced `OP_CONNECT_HOST` environment // variable. Provider will use 1Password Connect server if set. Url pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) Account ¶
func (o ProviderOutput) Account() pulumi.StringPtrOutput
A valid account's sign-in address or ID to use biometrics unlock. Can also be sourced from `OP_ACCOUNT` environment variable. Provider will use the 1Password CLI if set.
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) OpCliPath ¶
func (o ProviderOutput) OpCliPath() pulumi.StringPtrOutput
The path to the 1Password CLI binary. Can also be sourced from `OP_CLI_PATH` environment variable. Defaults to `op`.
func (ProviderOutput) ServiceAccountToken ¶
func (o ProviderOutput) ServiceAccountToken() pulumi.StringPtrOutput
A valid 1Password service account token. Can also be sourced from `OP_SERVICE_ACCOUNT_TOKEN` environment variable. Provider will use the 1Password CLI if set.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶
func (o ProviderOutput) Token() pulumi.StringPtrOutput
A valid token for your 1Password Connect server. Can also be sourced from `OP_CONNECT_TOKEN` environment variable. Provider will use 1Password Connect server if set.
func (ProviderOutput) Url ¶
func (o ProviderOutput) Url() pulumi.StringPtrOutput
The HTTP(S) URL where your 1Password Connect server can be found. Can also be sourced `OP_CONNECT_HOST` environment variable. Provider will use 1Password Connect server if set.