Documentation
¶
Index ¶
- type SyncAssociation
- type SyncAssociationArgs
- type SyncAssociationArray
- type SyncAssociationArrayInput
- type SyncAssociationArrayOutput
- func (SyncAssociationArrayOutput) ElementType() reflect.Type
- func (o SyncAssociationArrayOutput) Index(i pulumi.IntInput) SyncAssociationOutput
- func (o SyncAssociationArrayOutput) ToSyncAssociationArrayOutput() SyncAssociationArrayOutput
- func (o SyncAssociationArrayOutput) ToSyncAssociationArrayOutputWithContext(ctx context.Context) SyncAssociationArrayOutput
- type SyncAssociationInput
- type SyncAssociationMap
- type SyncAssociationMapInput
- type SyncAssociationMapOutput
- func (SyncAssociationMapOutput) ElementType() reflect.Type
- func (o SyncAssociationMapOutput) MapIndex(k pulumi.StringInput) SyncAssociationOutput
- func (o SyncAssociationMapOutput) ToSyncAssociationMapOutput() SyncAssociationMapOutput
- func (o SyncAssociationMapOutput) ToSyncAssociationMapOutputWithContext(ctx context.Context) SyncAssociationMapOutput
- type SyncAssociationOutput
- func (SyncAssociationOutput) ElementType() reflect.Type
- func (o SyncAssociationOutput) Mount() pulumi.StringOutput
- func (o SyncAssociationOutput) Name() pulumi.StringOutput
- func (o SyncAssociationOutput) Namespace() pulumi.StringPtrOutput
- func (o SyncAssociationOutput) SecretName() pulumi.StringOutput
- func (o SyncAssociationOutput) SyncStatus() pulumi.StringOutput
- func (o SyncAssociationOutput) ToSyncAssociationOutput() SyncAssociationOutput
- func (o SyncAssociationOutput) ToSyncAssociationOutputWithContext(ctx context.Context) SyncAssociationOutput
- func (o SyncAssociationOutput) Type() pulumi.StringOutput
- func (o SyncAssociationOutput) UpdatedAt() pulumi.StringOutput
- type SyncAssociationState
- type SyncAwsDestination
- type SyncAwsDestinationArgs
- type SyncAwsDestinationArray
- type SyncAwsDestinationArrayInput
- type SyncAwsDestinationArrayOutput
- func (SyncAwsDestinationArrayOutput) ElementType() reflect.Type
- func (o SyncAwsDestinationArrayOutput) Index(i pulumi.IntInput) SyncAwsDestinationOutput
- func (o SyncAwsDestinationArrayOutput) ToSyncAwsDestinationArrayOutput() SyncAwsDestinationArrayOutput
- func (o SyncAwsDestinationArrayOutput) ToSyncAwsDestinationArrayOutputWithContext(ctx context.Context) SyncAwsDestinationArrayOutput
- type SyncAwsDestinationInput
- type SyncAwsDestinationMap
- type SyncAwsDestinationMapInput
- type SyncAwsDestinationMapOutput
- func (SyncAwsDestinationMapOutput) ElementType() reflect.Type
- func (o SyncAwsDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncAwsDestinationOutput
- func (o SyncAwsDestinationMapOutput) ToSyncAwsDestinationMapOutput() SyncAwsDestinationMapOutput
- func (o SyncAwsDestinationMapOutput) ToSyncAwsDestinationMapOutputWithContext(ctx context.Context) SyncAwsDestinationMapOutput
- type SyncAwsDestinationOutput
- func (o SyncAwsDestinationOutput) AccessKeyId() pulumi.StringPtrOutput
- func (o SyncAwsDestinationOutput) CustomTags() pulumi.MapOutput
- func (SyncAwsDestinationOutput) ElementType() reflect.Type
- func (o SyncAwsDestinationOutput) Name() pulumi.StringOutput
- func (o SyncAwsDestinationOutput) Namespace() pulumi.StringPtrOutput
- func (o SyncAwsDestinationOutput) Region() pulumi.StringPtrOutput
- func (o SyncAwsDestinationOutput) SecretAccessKey() pulumi.StringPtrOutput
- func (o SyncAwsDestinationOutput) SecretNameTemplate() pulumi.StringOutput
- func (o SyncAwsDestinationOutput) ToSyncAwsDestinationOutput() SyncAwsDestinationOutput
- func (o SyncAwsDestinationOutput) ToSyncAwsDestinationOutputWithContext(ctx context.Context) SyncAwsDestinationOutput
- func (o SyncAwsDestinationOutput) Type() pulumi.StringOutput
- type SyncAwsDestinationState
- type SyncAzureDestination
- type SyncAzureDestinationArgs
- type SyncAzureDestinationArray
- type SyncAzureDestinationArrayInput
- type SyncAzureDestinationArrayOutput
- func (SyncAzureDestinationArrayOutput) ElementType() reflect.Type
- func (o SyncAzureDestinationArrayOutput) Index(i pulumi.IntInput) SyncAzureDestinationOutput
- func (o SyncAzureDestinationArrayOutput) ToSyncAzureDestinationArrayOutput() SyncAzureDestinationArrayOutput
- func (o SyncAzureDestinationArrayOutput) ToSyncAzureDestinationArrayOutputWithContext(ctx context.Context) SyncAzureDestinationArrayOutput
- type SyncAzureDestinationInput
- type SyncAzureDestinationMap
- type SyncAzureDestinationMapInput
- type SyncAzureDestinationMapOutput
- func (SyncAzureDestinationMapOutput) ElementType() reflect.Type
- func (o SyncAzureDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncAzureDestinationOutput
- func (o SyncAzureDestinationMapOutput) ToSyncAzureDestinationMapOutput() SyncAzureDestinationMapOutput
- func (o SyncAzureDestinationMapOutput) ToSyncAzureDestinationMapOutputWithContext(ctx context.Context) SyncAzureDestinationMapOutput
- type SyncAzureDestinationOutput
- func (o SyncAzureDestinationOutput) ClientId() pulumi.StringPtrOutput
- func (o SyncAzureDestinationOutput) ClientSecret() pulumi.StringPtrOutput
- func (o SyncAzureDestinationOutput) Cloud() pulumi.StringPtrOutput
- func (o SyncAzureDestinationOutput) CustomTags() pulumi.MapOutput
- func (SyncAzureDestinationOutput) ElementType() reflect.Type
- func (o SyncAzureDestinationOutput) KeyVaultUri() pulumi.StringPtrOutput
- func (o SyncAzureDestinationOutput) Name() pulumi.StringOutput
- func (o SyncAzureDestinationOutput) Namespace() pulumi.StringPtrOutput
- func (o SyncAzureDestinationOutput) SecretNameTemplate() pulumi.StringOutput
- func (o SyncAzureDestinationOutput) TenantId() pulumi.StringPtrOutput
- func (o SyncAzureDestinationOutput) ToSyncAzureDestinationOutput() SyncAzureDestinationOutput
- func (o SyncAzureDestinationOutput) ToSyncAzureDestinationOutputWithContext(ctx context.Context) SyncAzureDestinationOutput
- func (o SyncAzureDestinationOutput) Type() pulumi.StringOutput
- type SyncAzureDestinationState
- type SyncConfig
- type SyncConfigArgs
- type SyncConfigArray
- type SyncConfigArrayInput
- type SyncConfigArrayOutput
- func (SyncConfigArrayOutput) ElementType() reflect.Type
- func (o SyncConfigArrayOutput) Index(i pulumi.IntInput) SyncConfigOutput
- func (o SyncConfigArrayOutput) ToSyncConfigArrayOutput() SyncConfigArrayOutput
- func (o SyncConfigArrayOutput) ToSyncConfigArrayOutputWithContext(ctx context.Context) SyncConfigArrayOutput
- type SyncConfigInput
- type SyncConfigMap
- type SyncConfigMapInput
- type SyncConfigMapOutput
- func (SyncConfigMapOutput) ElementType() reflect.Type
- func (o SyncConfigMapOutput) MapIndex(k pulumi.StringInput) SyncConfigOutput
- func (o SyncConfigMapOutput) ToSyncConfigMapOutput() SyncConfigMapOutput
- func (o SyncConfigMapOutput) ToSyncConfigMapOutputWithContext(ctx context.Context) SyncConfigMapOutput
- type SyncConfigOutput
- func (o SyncConfigOutput) Disabled() pulumi.BoolPtrOutput
- func (SyncConfigOutput) ElementType() reflect.Type
- func (o SyncConfigOutput) Namespace() pulumi.StringPtrOutput
- func (o SyncConfigOutput) QueueCapacity() pulumi.IntPtrOutput
- func (o SyncConfigOutput) ToSyncConfigOutput() SyncConfigOutput
- func (o SyncConfigOutput) ToSyncConfigOutputWithContext(ctx context.Context) SyncConfigOutput
- type SyncConfigState
- type SyncGcpDestination
- type SyncGcpDestinationArgs
- type SyncGcpDestinationArray
- type SyncGcpDestinationArrayInput
- type SyncGcpDestinationArrayOutput
- func (SyncGcpDestinationArrayOutput) ElementType() reflect.Type
- func (o SyncGcpDestinationArrayOutput) Index(i pulumi.IntInput) SyncGcpDestinationOutput
- func (o SyncGcpDestinationArrayOutput) ToSyncGcpDestinationArrayOutput() SyncGcpDestinationArrayOutput
- func (o SyncGcpDestinationArrayOutput) ToSyncGcpDestinationArrayOutputWithContext(ctx context.Context) SyncGcpDestinationArrayOutput
- type SyncGcpDestinationInput
- type SyncGcpDestinationMap
- type SyncGcpDestinationMapInput
- type SyncGcpDestinationMapOutput
- func (SyncGcpDestinationMapOutput) ElementType() reflect.Type
- func (o SyncGcpDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncGcpDestinationOutput
- func (o SyncGcpDestinationMapOutput) ToSyncGcpDestinationMapOutput() SyncGcpDestinationMapOutput
- func (o SyncGcpDestinationMapOutput) ToSyncGcpDestinationMapOutputWithContext(ctx context.Context) SyncGcpDestinationMapOutput
- type SyncGcpDestinationOutput
- func (o SyncGcpDestinationOutput) Credentials() pulumi.StringPtrOutput
- func (o SyncGcpDestinationOutput) CustomTags() pulumi.MapOutput
- func (SyncGcpDestinationOutput) ElementType() reflect.Type
- func (o SyncGcpDestinationOutput) Name() pulumi.StringOutput
- func (o SyncGcpDestinationOutput) Namespace() pulumi.StringPtrOutput
- func (o SyncGcpDestinationOutput) SecretNameTemplate() pulumi.StringOutput
- func (o SyncGcpDestinationOutput) ToSyncGcpDestinationOutput() SyncGcpDestinationOutput
- func (o SyncGcpDestinationOutput) ToSyncGcpDestinationOutputWithContext(ctx context.Context) SyncGcpDestinationOutput
- func (o SyncGcpDestinationOutput) Type() pulumi.StringOutput
- type SyncGcpDestinationState
- type SyncGhDestination
- type SyncGhDestinationArgs
- type SyncGhDestinationArray
- type SyncGhDestinationArrayInput
- type SyncGhDestinationArrayOutput
- func (SyncGhDestinationArrayOutput) ElementType() reflect.Type
- func (o SyncGhDestinationArrayOutput) Index(i pulumi.IntInput) SyncGhDestinationOutput
- func (o SyncGhDestinationArrayOutput) ToSyncGhDestinationArrayOutput() SyncGhDestinationArrayOutput
- func (o SyncGhDestinationArrayOutput) ToSyncGhDestinationArrayOutputWithContext(ctx context.Context) SyncGhDestinationArrayOutput
- type SyncGhDestinationInput
- type SyncGhDestinationMap
- type SyncGhDestinationMapInput
- type SyncGhDestinationMapOutput
- func (SyncGhDestinationMapOutput) ElementType() reflect.Type
- func (o SyncGhDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncGhDestinationOutput
- func (o SyncGhDestinationMapOutput) ToSyncGhDestinationMapOutput() SyncGhDestinationMapOutput
- func (o SyncGhDestinationMapOutput) ToSyncGhDestinationMapOutputWithContext(ctx context.Context) SyncGhDestinationMapOutput
- type SyncGhDestinationOutput
- func (o SyncGhDestinationOutput) AccessToken() pulumi.StringPtrOutput
- func (SyncGhDestinationOutput) ElementType() reflect.Type
- func (o SyncGhDestinationOutput) Name() pulumi.StringOutput
- func (o SyncGhDestinationOutput) Namespace() pulumi.StringPtrOutput
- func (o SyncGhDestinationOutput) RepositoryName() pulumi.StringPtrOutput
- func (o SyncGhDestinationOutput) RepositoryOwner() pulumi.StringPtrOutput
- func (o SyncGhDestinationOutput) SecretNameTemplate() pulumi.StringOutput
- func (o SyncGhDestinationOutput) ToSyncGhDestinationOutput() SyncGhDestinationOutput
- func (o SyncGhDestinationOutput) ToSyncGhDestinationOutputWithContext(ctx context.Context) SyncGhDestinationOutput
- func (o SyncGhDestinationOutput) Type() pulumi.StringOutput
- type SyncGhDestinationState
- type SyncVercelDestination
- type SyncVercelDestinationArgs
- type SyncVercelDestinationArray
- func (SyncVercelDestinationArray) ElementType() reflect.Type
- func (i SyncVercelDestinationArray) ToSyncVercelDestinationArrayOutput() SyncVercelDestinationArrayOutput
- func (i SyncVercelDestinationArray) ToSyncVercelDestinationArrayOutputWithContext(ctx context.Context) SyncVercelDestinationArrayOutput
- type SyncVercelDestinationArrayInput
- type SyncVercelDestinationArrayOutput
- func (SyncVercelDestinationArrayOutput) ElementType() reflect.Type
- func (o SyncVercelDestinationArrayOutput) Index(i pulumi.IntInput) SyncVercelDestinationOutput
- func (o SyncVercelDestinationArrayOutput) ToSyncVercelDestinationArrayOutput() SyncVercelDestinationArrayOutput
- func (o SyncVercelDestinationArrayOutput) ToSyncVercelDestinationArrayOutputWithContext(ctx context.Context) SyncVercelDestinationArrayOutput
- type SyncVercelDestinationInput
- type SyncVercelDestinationMap
- type SyncVercelDestinationMapInput
- type SyncVercelDestinationMapOutput
- func (SyncVercelDestinationMapOutput) ElementType() reflect.Type
- func (o SyncVercelDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncVercelDestinationOutput
- func (o SyncVercelDestinationMapOutput) ToSyncVercelDestinationMapOutput() SyncVercelDestinationMapOutput
- func (o SyncVercelDestinationMapOutput) ToSyncVercelDestinationMapOutputWithContext(ctx context.Context) SyncVercelDestinationMapOutput
- type SyncVercelDestinationOutput
- func (o SyncVercelDestinationOutput) AccessToken() pulumi.StringOutput
- func (o SyncVercelDestinationOutput) DeploymentEnvironments() pulumi.StringArrayOutput
- func (SyncVercelDestinationOutput) ElementType() reflect.Type
- func (o SyncVercelDestinationOutput) Name() pulumi.StringOutput
- func (o SyncVercelDestinationOutput) Namespace() pulumi.StringPtrOutput
- func (o SyncVercelDestinationOutput) ProjectId() pulumi.StringOutput
- func (o SyncVercelDestinationOutput) SecretNameTemplate() pulumi.StringOutput
- func (o SyncVercelDestinationOutput) TeamId() pulumi.StringPtrOutput
- func (o SyncVercelDestinationOutput) ToSyncVercelDestinationOutput() SyncVercelDestinationOutput
- func (o SyncVercelDestinationOutput) ToSyncVercelDestinationOutputWithContext(ctx context.Context) SyncVercelDestinationOutput
- func (o SyncVercelDestinationOutput) Type() pulumi.StringOutput
- type SyncVercelDestinationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncAssociation ¶
type SyncAssociation struct { pulumi.CustomResourceState // Specifies the mount where the secret is located. Mount pulumi.StringOutput `pulumi:"mount"` // Specifies the name of the destination. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Specifies the name of the secret to synchronize. SecretName pulumi.StringOutput `pulumi:"secretName"` // Specifies the status of the association (for eg. `SYNCED`). SyncStatus pulumi.StringOutput `pulumi:"syncStatus"` // Specifies the destination type. Type pulumi.StringOutput `pulumi:"type"` // Duration string specifying when the secret was last updated. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/kv" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { kvv2, err := vault.NewMount(ctx, "kvv2", &vault.MountArgs{ Path: pulumi.String("kvv2"), Type: pulumi.String("kv"), Options: pulumi.Map{ "version": pulumi.Any("2"), }, Description: pulumi.String("KV Version 2 secret engine mount"), }) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "dev": "B!gS3cr3t", "prod": "S3cureP4$$", }) if err != nil { return err } json0 := string(tmpJSON0) token, err := kv.NewSecretV2(ctx, "token", &kv.SecretV2Args{ Mount: kvv2.Path, DataJson: pulumi.String(json0), }) if err != nil { return err } gh, err := secrets.NewSyncGhDestination(ctx, "gh", &secrets.SyncGhDestinationArgs{ AccessToken: pulumi.Any(_var.Access_token), RepositoryOwner: pulumi.Any(_var.Repo_owner), RepositoryName: pulumi.String("repo-name-example"), SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"), }) if err != nil { return err } _, err = secrets.NewSyncAssociation(ctx, "ghToken", &secrets.SyncAssociationArgs{ Type: gh.Type, Mount: kvv2.Path, SecretName: token.Name, }) if err != nil { return err } return nil }) }
```
func GetSyncAssociation ¶
func GetSyncAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SyncAssociationState, opts ...pulumi.ResourceOption) (*SyncAssociation, error)
GetSyncAssociation gets an existing SyncAssociation 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 NewSyncAssociation ¶
func NewSyncAssociation(ctx *pulumi.Context, name string, args *SyncAssociationArgs, opts ...pulumi.ResourceOption) (*SyncAssociation, error)
NewSyncAssociation registers a new resource with the given unique name, arguments, and options.
func (*SyncAssociation) ElementType ¶
func (*SyncAssociation) ElementType() reflect.Type
func (*SyncAssociation) ToSyncAssociationOutput ¶
func (i *SyncAssociation) ToSyncAssociationOutput() SyncAssociationOutput
func (*SyncAssociation) ToSyncAssociationOutputWithContext ¶
func (i *SyncAssociation) ToSyncAssociationOutputWithContext(ctx context.Context) SyncAssociationOutput
type SyncAssociationArgs ¶
type SyncAssociationArgs struct { // Specifies the mount where the secret is located. Mount pulumi.StringInput // Specifies the name of the destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Specifies the name of the secret to synchronize. SecretName pulumi.StringInput // Specifies the destination type. Type pulumi.StringInput }
The set of arguments for constructing a SyncAssociation resource.
func (SyncAssociationArgs) ElementType ¶
func (SyncAssociationArgs) ElementType() reflect.Type
type SyncAssociationArray ¶
type SyncAssociationArray []SyncAssociationInput
func (SyncAssociationArray) ElementType ¶
func (SyncAssociationArray) ElementType() reflect.Type
func (SyncAssociationArray) ToSyncAssociationArrayOutput ¶
func (i SyncAssociationArray) ToSyncAssociationArrayOutput() SyncAssociationArrayOutput
func (SyncAssociationArray) ToSyncAssociationArrayOutputWithContext ¶
func (i SyncAssociationArray) ToSyncAssociationArrayOutputWithContext(ctx context.Context) SyncAssociationArrayOutput
type SyncAssociationArrayInput ¶
type SyncAssociationArrayInput interface { pulumi.Input ToSyncAssociationArrayOutput() SyncAssociationArrayOutput ToSyncAssociationArrayOutputWithContext(context.Context) SyncAssociationArrayOutput }
SyncAssociationArrayInput is an input type that accepts SyncAssociationArray and SyncAssociationArrayOutput values. You can construct a concrete instance of `SyncAssociationArrayInput` via:
SyncAssociationArray{ SyncAssociationArgs{...} }
type SyncAssociationArrayOutput ¶
type SyncAssociationArrayOutput struct{ *pulumi.OutputState }
func (SyncAssociationArrayOutput) ElementType ¶
func (SyncAssociationArrayOutput) ElementType() reflect.Type
func (SyncAssociationArrayOutput) Index ¶
func (o SyncAssociationArrayOutput) Index(i pulumi.IntInput) SyncAssociationOutput
func (SyncAssociationArrayOutput) ToSyncAssociationArrayOutput ¶
func (o SyncAssociationArrayOutput) ToSyncAssociationArrayOutput() SyncAssociationArrayOutput
func (SyncAssociationArrayOutput) ToSyncAssociationArrayOutputWithContext ¶
func (o SyncAssociationArrayOutput) ToSyncAssociationArrayOutputWithContext(ctx context.Context) SyncAssociationArrayOutput
type SyncAssociationInput ¶
type SyncAssociationInput interface { pulumi.Input ToSyncAssociationOutput() SyncAssociationOutput ToSyncAssociationOutputWithContext(ctx context.Context) SyncAssociationOutput }
type SyncAssociationMap ¶
type SyncAssociationMap map[string]SyncAssociationInput
func (SyncAssociationMap) ElementType ¶
func (SyncAssociationMap) ElementType() reflect.Type
func (SyncAssociationMap) ToSyncAssociationMapOutput ¶
func (i SyncAssociationMap) ToSyncAssociationMapOutput() SyncAssociationMapOutput
func (SyncAssociationMap) ToSyncAssociationMapOutputWithContext ¶
func (i SyncAssociationMap) ToSyncAssociationMapOutputWithContext(ctx context.Context) SyncAssociationMapOutput
type SyncAssociationMapInput ¶
type SyncAssociationMapInput interface { pulumi.Input ToSyncAssociationMapOutput() SyncAssociationMapOutput ToSyncAssociationMapOutputWithContext(context.Context) SyncAssociationMapOutput }
SyncAssociationMapInput is an input type that accepts SyncAssociationMap and SyncAssociationMapOutput values. You can construct a concrete instance of `SyncAssociationMapInput` via:
SyncAssociationMap{ "key": SyncAssociationArgs{...} }
type SyncAssociationMapOutput ¶
type SyncAssociationMapOutput struct{ *pulumi.OutputState }
func (SyncAssociationMapOutput) ElementType ¶
func (SyncAssociationMapOutput) ElementType() reflect.Type
func (SyncAssociationMapOutput) MapIndex ¶
func (o SyncAssociationMapOutput) MapIndex(k pulumi.StringInput) SyncAssociationOutput
func (SyncAssociationMapOutput) ToSyncAssociationMapOutput ¶
func (o SyncAssociationMapOutput) ToSyncAssociationMapOutput() SyncAssociationMapOutput
func (SyncAssociationMapOutput) ToSyncAssociationMapOutputWithContext ¶
func (o SyncAssociationMapOutput) ToSyncAssociationMapOutputWithContext(ctx context.Context) SyncAssociationMapOutput
type SyncAssociationOutput ¶
type SyncAssociationOutput struct{ *pulumi.OutputState }
func (SyncAssociationOutput) ElementType ¶
func (SyncAssociationOutput) ElementType() reflect.Type
func (SyncAssociationOutput) Mount ¶
func (o SyncAssociationOutput) Mount() pulumi.StringOutput
Specifies the mount where the secret is located.
func (SyncAssociationOutput) Name ¶
func (o SyncAssociationOutput) Name() pulumi.StringOutput
Specifies the name of the destination.
func (SyncAssociationOutput) Namespace ¶
func (o SyncAssociationOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
func (SyncAssociationOutput) SecretName ¶
func (o SyncAssociationOutput) SecretName() pulumi.StringOutput
Specifies the name of the secret to synchronize.
func (SyncAssociationOutput) SyncStatus ¶
func (o SyncAssociationOutput) SyncStatus() pulumi.StringOutput
Specifies the status of the association (for eg. `SYNCED`).
func (SyncAssociationOutput) ToSyncAssociationOutput ¶
func (o SyncAssociationOutput) ToSyncAssociationOutput() SyncAssociationOutput
func (SyncAssociationOutput) ToSyncAssociationOutputWithContext ¶
func (o SyncAssociationOutput) ToSyncAssociationOutputWithContext(ctx context.Context) SyncAssociationOutput
func (SyncAssociationOutput) Type ¶
func (o SyncAssociationOutput) Type() pulumi.StringOutput
Specifies the destination type.
func (SyncAssociationOutput) UpdatedAt ¶
func (o SyncAssociationOutput) UpdatedAt() pulumi.StringOutput
Duration string specifying when the secret was last updated.
type SyncAssociationState ¶
type SyncAssociationState struct { // Specifies the mount where the secret is located. Mount pulumi.StringPtrInput // Specifies the name of the destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Specifies the name of the secret to synchronize. SecretName pulumi.StringPtrInput // Specifies the status of the association (for eg. `SYNCED`). SyncStatus pulumi.StringPtrInput // Specifies the destination type. Type pulumi.StringPtrInput // Duration string specifying when the secret was last updated. UpdatedAt pulumi.StringPtrInput }
func (SyncAssociationState) ElementType ¶
func (SyncAssociationState) ElementType() reflect.Type
type SyncAwsDestination ¶
type SyncAwsDestination struct { pulumi.CustomResourceState // Access key id to authenticate against the AWS secrets manager. // Can be omitted and directly provided to Vault using the `AWS_ACCESS_KEY_ID` environment // variable. AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"` // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapOutput `pulumi:"customTags"` // Unique name of the AWS destination. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Region where to manage the secrets manager entries. // Can be omitted and directly provided to Vault using the `AWS_REGION` environment // variable. Region pulumi.StringPtrOutput `pulumi:"region"` // Secret access key to authenticate against the AWS secrets manager. // Can be omitted and directly provided to Vault using the `AWS_SECRET_ACCESS_KEY` environment // variable. SecretAccessKey pulumi.StringPtrOutput `pulumi:"secretAccessKey"` // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringOutput `pulumi:"secretNameTemplate"` // The type of the secrets destination (`aws-sm`). Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v5/go/vault/secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secrets.NewSyncAwsDestination(ctx, "aws", &secrets.SyncAwsDestinationArgs{ AccessKeyId: pulumi.Any(_var.Access_key_id), SecretAccessKey: pulumi.Any(_var.Secret_access_key), Region: pulumi.String("us-east-1"), SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"), CustomTags: pulumi.Map{ "foo": pulumi.Any("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
AWS Secrets sync destinations can be imported using the `name`, e.g.
```sh
$ pulumi import vault:secrets/syncAwsDestination:SyncAwsDestination aws aws-dest
```
func GetSyncAwsDestination ¶
func GetSyncAwsDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SyncAwsDestinationState, opts ...pulumi.ResourceOption) (*SyncAwsDestination, error)
GetSyncAwsDestination gets an existing SyncAwsDestination 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 NewSyncAwsDestination ¶
func NewSyncAwsDestination(ctx *pulumi.Context, name string, args *SyncAwsDestinationArgs, opts ...pulumi.ResourceOption) (*SyncAwsDestination, error)
NewSyncAwsDestination registers a new resource with the given unique name, arguments, and options.
func (*SyncAwsDestination) ElementType ¶
func (*SyncAwsDestination) ElementType() reflect.Type
func (*SyncAwsDestination) ToSyncAwsDestinationOutput ¶
func (i *SyncAwsDestination) ToSyncAwsDestinationOutput() SyncAwsDestinationOutput
func (*SyncAwsDestination) ToSyncAwsDestinationOutputWithContext ¶
func (i *SyncAwsDestination) ToSyncAwsDestinationOutputWithContext(ctx context.Context) SyncAwsDestinationOutput
type SyncAwsDestinationArgs ¶
type SyncAwsDestinationArgs struct { // Access key id to authenticate against the AWS secrets manager. // Can be omitted and directly provided to Vault using the `AWS_ACCESS_KEY_ID` environment // variable. AccessKeyId pulumi.StringPtrInput // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapInput // Unique name of the AWS destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Region where to manage the secrets manager entries. // Can be omitted and directly provided to Vault using the `AWS_REGION` environment // variable. Region pulumi.StringPtrInput // Secret access key to authenticate against the AWS secrets manager. // Can be omitted and directly provided to Vault using the `AWS_SECRET_ACCESS_KEY` environment // variable. SecretAccessKey pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput }
The set of arguments for constructing a SyncAwsDestination resource.
func (SyncAwsDestinationArgs) ElementType ¶
func (SyncAwsDestinationArgs) ElementType() reflect.Type
type SyncAwsDestinationArray ¶
type SyncAwsDestinationArray []SyncAwsDestinationInput
func (SyncAwsDestinationArray) ElementType ¶
func (SyncAwsDestinationArray) ElementType() reflect.Type
func (SyncAwsDestinationArray) ToSyncAwsDestinationArrayOutput ¶
func (i SyncAwsDestinationArray) ToSyncAwsDestinationArrayOutput() SyncAwsDestinationArrayOutput
func (SyncAwsDestinationArray) ToSyncAwsDestinationArrayOutputWithContext ¶
func (i SyncAwsDestinationArray) ToSyncAwsDestinationArrayOutputWithContext(ctx context.Context) SyncAwsDestinationArrayOutput
type SyncAwsDestinationArrayInput ¶
type SyncAwsDestinationArrayInput interface { pulumi.Input ToSyncAwsDestinationArrayOutput() SyncAwsDestinationArrayOutput ToSyncAwsDestinationArrayOutputWithContext(context.Context) SyncAwsDestinationArrayOutput }
SyncAwsDestinationArrayInput is an input type that accepts SyncAwsDestinationArray and SyncAwsDestinationArrayOutput values. You can construct a concrete instance of `SyncAwsDestinationArrayInput` via:
SyncAwsDestinationArray{ SyncAwsDestinationArgs{...} }
type SyncAwsDestinationArrayOutput ¶
type SyncAwsDestinationArrayOutput struct{ *pulumi.OutputState }
func (SyncAwsDestinationArrayOutput) ElementType ¶
func (SyncAwsDestinationArrayOutput) ElementType() reflect.Type
func (SyncAwsDestinationArrayOutput) Index ¶
func (o SyncAwsDestinationArrayOutput) Index(i pulumi.IntInput) SyncAwsDestinationOutput
func (SyncAwsDestinationArrayOutput) ToSyncAwsDestinationArrayOutput ¶
func (o SyncAwsDestinationArrayOutput) ToSyncAwsDestinationArrayOutput() SyncAwsDestinationArrayOutput
func (SyncAwsDestinationArrayOutput) ToSyncAwsDestinationArrayOutputWithContext ¶
func (o SyncAwsDestinationArrayOutput) ToSyncAwsDestinationArrayOutputWithContext(ctx context.Context) SyncAwsDestinationArrayOutput
type SyncAwsDestinationInput ¶
type SyncAwsDestinationInput interface { pulumi.Input ToSyncAwsDestinationOutput() SyncAwsDestinationOutput ToSyncAwsDestinationOutputWithContext(ctx context.Context) SyncAwsDestinationOutput }
type SyncAwsDestinationMap ¶
type SyncAwsDestinationMap map[string]SyncAwsDestinationInput
func (SyncAwsDestinationMap) ElementType ¶
func (SyncAwsDestinationMap) ElementType() reflect.Type
func (SyncAwsDestinationMap) ToSyncAwsDestinationMapOutput ¶
func (i SyncAwsDestinationMap) ToSyncAwsDestinationMapOutput() SyncAwsDestinationMapOutput
func (SyncAwsDestinationMap) ToSyncAwsDestinationMapOutputWithContext ¶
func (i SyncAwsDestinationMap) ToSyncAwsDestinationMapOutputWithContext(ctx context.Context) SyncAwsDestinationMapOutput
type SyncAwsDestinationMapInput ¶
type SyncAwsDestinationMapInput interface { pulumi.Input ToSyncAwsDestinationMapOutput() SyncAwsDestinationMapOutput ToSyncAwsDestinationMapOutputWithContext(context.Context) SyncAwsDestinationMapOutput }
SyncAwsDestinationMapInput is an input type that accepts SyncAwsDestinationMap and SyncAwsDestinationMapOutput values. You can construct a concrete instance of `SyncAwsDestinationMapInput` via:
SyncAwsDestinationMap{ "key": SyncAwsDestinationArgs{...} }
type SyncAwsDestinationMapOutput ¶
type SyncAwsDestinationMapOutput struct{ *pulumi.OutputState }
func (SyncAwsDestinationMapOutput) ElementType ¶
func (SyncAwsDestinationMapOutput) ElementType() reflect.Type
func (SyncAwsDestinationMapOutput) MapIndex ¶
func (o SyncAwsDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncAwsDestinationOutput
func (SyncAwsDestinationMapOutput) ToSyncAwsDestinationMapOutput ¶
func (o SyncAwsDestinationMapOutput) ToSyncAwsDestinationMapOutput() SyncAwsDestinationMapOutput
func (SyncAwsDestinationMapOutput) ToSyncAwsDestinationMapOutputWithContext ¶
func (o SyncAwsDestinationMapOutput) ToSyncAwsDestinationMapOutputWithContext(ctx context.Context) SyncAwsDestinationMapOutput
type SyncAwsDestinationOutput ¶
type SyncAwsDestinationOutput struct{ *pulumi.OutputState }
func (SyncAwsDestinationOutput) AccessKeyId ¶
func (o SyncAwsDestinationOutput) AccessKeyId() pulumi.StringPtrOutput
Access key id to authenticate against the AWS secrets manager. Can be omitted and directly provided to Vault using the `AWS_ACCESS_KEY_ID` environment variable.
func (SyncAwsDestinationOutput) CustomTags ¶
func (o SyncAwsDestinationOutput) CustomTags() pulumi.MapOutput
Custom tags to set on the secret managed at the destination.
func (SyncAwsDestinationOutput) ElementType ¶
func (SyncAwsDestinationOutput) ElementType() reflect.Type
func (SyncAwsDestinationOutput) Name ¶
func (o SyncAwsDestinationOutput) Name() pulumi.StringOutput
Unique name of the AWS destination.
func (SyncAwsDestinationOutput) Namespace ¶
func (o SyncAwsDestinationOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
func (SyncAwsDestinationOutput) Region ¶
func (o SyncAwsDestinationOutput) Region() pulumi.StringPtrOutput
Region where to manage the secrets manager entries. Can be omitted and directly provided to Vault using the `AWS_REGION` environment variable.
func (SyncAwsDestinationOutput) SecretAccessKey ¶
func (o SyncAwsDestinationOutput) SecretAccessKey() pulumi.StringPtrOutput
Secret access key to authenticate against the AWS secrets manager. Can be omitted and directly provided to Vault using the `AWS_SECRET_ACCESS_KEY` environment variable.
func (SyncAwsDestinationOutput) SecretNameTemplate ¶
func (o SyncAwsDestinationOutput) SecretNameTemplate() pulumi.StringOutput
Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
func (SyncAwsDestinationOutput) ToSyncAwsDestinationOutput ¶
func (o SyncAwsDestinationOutput) ToSyncAwsDestinationOutput() SyncAwsDestinationOutput
func (SyncAwsDestinationOutput) ToSyncAwsDestinationOutputWithContext ¶
func (o SyncAwsDestinationOutput) ToSyncAwsDestinationOutputWithContext(ctx context.Context) SyncAwsDestinationOutput
func (SyncAwsDestinationOutput) Type ¶
func (o SyncAwsDestinationOutput) Type() pulumi.StringOutput
The type of the secrets destination (`aws-sm`).
type SyncAwsDestinationState ¶
type SyncAwsDestinationState struct { // Access key id to authenticate against the AWS secrets manager. // Can be omitted and directly provided to Vault using the `AWS_ACCESS_KEY_ID` environment // variable. AccessKeyId pulumi.StringPtrInput // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapInput // Unique name of the AWS destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Region where to manage the secrets manager entries. // Can be omitted and directly provided to Vault using the `AWS_REGION` environment // variable. Region pulumi.StringPtrInput // Secret access key to authenticate against the AWS secrets manager. // Can be omitted and directly provided to Vault using the `AWS_SECRET_ACCESS_KEY` environment // variable. SecretAccessKey pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput // The type of the secrets destination (`aws-sm`). Type pulumi.StringPtrInput }
func (SyncAwsDestinationState) ElementType ¶
func (SyncAwsDestinationState) ElementType() reflect.Type
type SyncAzureDestination ¶
type SyncAzureDestination struct { pulumi.CustomResourceState // Client ID of an Azure app registration. // Can be omitted and directly provided to Vault using the `AZURE_CLIENT_ID` environment // variable. ClientId pulumi.StringPtrOutput `pulumi:"clientId"` // Client Secret of an Azure app registration. // Can be omitted and directly provided to Vault using the `AZURE_CLIENT_SECRET` environment // variable. ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"` // Specifies a cloud for the client. The default is Azure Public Cloud. Cloud pulumi.StringPtrOutput `pulumi:"cloud"` // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapOutput `pulumi:"customTags"` // URI of an existing Azure Key Vault instance. // Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment // variable. KeyVaultUri pulumi.StringPtrOutput `pulumi:"keyVaultUri"` // Unique name of the Azure destination. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringOutput `pulumi:"secretNameTemplate"` // ID of the target Azure tenant. // Can be omitted and directly provided to Vault using the `AZURE_TENANT_ID` environment // variable. TenantId pulumi.StringPtrOutput `pulumi:"tenantId"` // The type of the secrets destination (`azure-kv`). Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v5/go/vault/secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secrets.NewSyncAzureDestination(ctx, "az", &secrets.SyncAzureDestinationArgs{ KeyVaultUri: pulumi.Any(_var.Key_vault_uri), ClientId: pulumi.Any(_var.Client_id), ClientSecret: pulumi.Any(_var.Client_secret), TenantId: pulumi.Any(_var.Tenant_id), SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"), CustomTags: pulumi.Map{ "foo": pulumi.Any("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
Azure Secrets sync destinations can be imported using the `name`, e.g.
```sh
$ pulumi import vault:secrets/syncAzureDestination:SyncAzureDestination az az-dest
```
func GetSyncAzureDestination ¶
func GetSyncAzureDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SyncAzureDestinationState, opts ...pulumi.ResourceOption) (*SyncAzureDestination, error)
GetSyncAzureDestination gets an existing SyncAzureDestination 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 NewSyncAzureDestination ¶
func NewSyncAzureDestination(ctx *pulumi.Context, name string, args *SyncAzureDestinationArgs, opts ...pulumi.ResourceOption) (*SyncAzureDestination, error)
NewSyncAzureDestination registers a new resource with the given unique name, arguments, and options.
func (*SyncAzureDestination) ElementType ¶
func (*SyncAzureDestination) ElementType() reflect.Type
func (*SyncAzureDestination) ToSyncAzureDestinationOutput ¶
func (i *SyncAzureDestination) ToSyncAzureDestinationOutput() SyncAzureDestinationOutput
func (*SyncAzureDestination) ToSyncAzureDestinationOutputWithContext ¶
func (i *SyncAzureDestination) ToSyncAzureDestinationOutputWithContext(ctx context.Context) SyncAzureDestinationOutput
type SyncAzureDestinationArgs ¶
type SyncAzureDestinationArgs struct { // Client ID of an Azure app registration. // Can be omitted and directly provided to Vault using the `AZURE_CLIENT_ID` environment // variable. ClientId pulumi.StringPtrInput // Client Secret of an Azure app registration. // Can be omitted and directly provided to Vault using the `AZURE_CLIENT_SECRET` environment // variable. ClientSecret pulumi.StringPtrInput // Specifies a cloud for the client. The default is Azure Public Cloud. Cloud pulumi.StringPtrInput // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapInput // URI of an existing Azure Key Vault instance. // Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment // variable. KeyVaultUri pulumi.StringPtrInput // Unique name of the Azure destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput // ID of the target Azure tenant. // Can be omitted and directly provided to Vault using the `AZURE_TENANT_ID` environment // variable. TenantId pulumi.StringPtrInput }
The set of arguments for constructing a SyncAzureDestination resource.
func (SyncAzureDestinationArgs) ElementType ¶
func (SyncAzureDestinationArgs) ElementType() reflect.Type
type SyncAzureDestinationArray ¶
type SyncAzureDestinationArray []SyncAzureDestinationInput
func (SyncAzureDestinationArray) ElementType ¶
func (SyncAzureDestinationArray) ElementType() reflect.Type
func (SyncAzureDestinationArray) ToSyncAzureDestinationArrayOutput ¶
func (i SyncAzureDestinationArray) ToSyncAzureDestinationArrayOutput() SyncAzureDestinationArrayOutput
func (SyncAzureDestinationArray) ToSyncAzureDestinationArrayOutputWithContext ¶
func (i SyncAzureDestinationArray) ToSyncAzureDestinationArrayOutputWithContext(ctx context.Context) SyncAzureDestinationArrayOutput
type SyncAzureDestinationArrayInput ¶
type SyncAzureDestinationArrayInput interface { pulumi.Input ToSyncAzureDestinationArrayOutput() SyncAzureDestinationArrayOutput ToSyncAzureDestinationArrayOutputWithContext(context.Context) SyncAzureDestinationArrayOutput }
SyncAzureDestinationArrayInput is an input type that accepts SyncAzureDestinationArray and SyncAzureDestinationArrayOutput values. You can construct a concrete instance of `SyncAzureDestinationArrayInput` via:
SyncAzureDestinationArray{ SyncAzureDestinationArgs{...} }
type SyncAzureDestinationArrayOutput ¶
type SyncAzureDestinationArrayOutput struct{ *pulumi.OutputState }
func (SyncAzureDestinationArrayOutput) ElementType ¶
func (SyncAzureDestinationArrayOutput) ElementType() reflect.Type
func (SyncAzureDestinationArrayOutput) Index ¶
func (o SyncAzureDestinationArrayOutput) Index(i pulumi.IntInput) SyncAzureDestinationOutput
func (SyncAzureDestinationArrayOutput) ToSyncAzureDestinationArrayOutput ¶
func (o SyncAzureDestinationArrayOutput) ToSyncAzureDestinationArrayOutput() SyncAzureDestinationArrayOutput
func (SyncAzureDestinationArrayOutput) ToSyncAzureDestinationArrayOutputWithContext ¶
func (o SyncAzureDestinationArrayOutput) ToSyncAzureDestinationArrayOutputWithContext(ctx context.Context) SyncAzureDestinationArrayOutput
type SyncAzureDestinationInput ¶
type SyncAzureDestinationInput interface { pulumi.Input ToSyncAzureDestinationOutput() SyncAzureDestinationOutput ToSyncAzureDestinationOutputWithContext(ctx context.Context) SyncAzureDestinationOutput }
type SyncAzureDestinationMap ¶
type SyncAzureDestinationMap map[string]SyncAzureDestinationInput
func (SyncAzureDestinationMap) ElementType ¶
func (SyncAzureDestinationMap) ElementType() reflect.Type
func (SyncAzureDestinationMap) ToSyncAzureDestinationMapOutput ¶
func (i SyncAzureDestinationMap) ToSyncAzureDestinationMapOutput() SyncAzureDestinationMapOutput
func (SyncAzureDestinationMap) ToSyncAzureDestinationMapOutputWithContext ¶
func (i SyncAzureDestinationMap) ToSyncAzureDestinationMapOutputWithContext(ctx context.Context) SyncAzureDestinationMapOutput
type SyncAzureDestinationMapInput ¶
type SyncAzureDestinationMapInput interface { pulumi.Input ToSyncAzureDestinationMapOutput() SyncAzureDestinationMapOutput ToSyncAzureDestinationMapOutputWithContext(context.Context) SyncAzureDestinationMapOutput }
SyncAzureDestinationMapInput is an input type that accepts SyncAzureDestinationMap and SyncAzureDestinationMapOutput values. You can construct a concrete instance of `SyncAzureDestinationMapInput` via:
SyncAzureDestinationMap{ "key": SyncAzureDestinationArgs{...} }
type SyncAzureDestinationMapOutput ¶
type SyncAzureDestinationMapOutput struct{ *pulumi.OutputState }
func (SyncAzureDestinationMapOutput) ElementType ¶
func (SyncAzureDestinationMapOutput) ElementType() reflect.Type
func (SyncAzureDestinationMapOutput) MapIndex ¶
func (o SyncAzureDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncAzureDestinationOutput
func (SyncAzureDestinationMapOutput) ToSyncAzureDestinationMapOutput ¶
func (o SyncAzureDestinationMapOutput) ToSyncAzureDestinationMapOutput() SyncAzureDestinationMapOutput
func (SyncAzureDestinationMapOutput) ToSyncAzureDestinationMapOutputWithContext ¶
func (o SyncAzureDestinationMapOutput) ToSyncAzureDestinationMapOutputWithContext(ctx context.Context) SyncAzureDestinationMapOutput
type SyncAzureDestinationOutput ¶
type SyncAzureDestinationOutput struct{ *pulumi.OutputState }
func (SyncAzureDestinationOutput) ClientId ¶
func (o SyncAzureDestinationOutput) ClientId() pulumi.StringPtrOutput
Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the `AZURE_CLIENT_ID` environment variable.
func (SyncAzureDestinationOutput) ClientSecret ¶
func (o SyncAzureDestinationOutput) ClientSecret() pulumi.StringPtrOutput
Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the `AZURE_CLIENT_SECRET` environment variable.
func (SyncAzureDestinationOutput) Cloud ¶
func (o SyncAzureDestinationOutput) Cloud() pulumi.StringPtrOutput
Specifies a cloud for the client. The default is Azure Public Cloud.
func (SyncAzureDestinationOutput) CustomTags ¶
func (o SyncAzureDestinationOutput) CustomTags() pulumi.MapOutput
Custom tags to set on the secret managed at the destination.
func (SyncAzureDestinationOutput) ElementType ¶
func (SyncAzureDestinationOutput) ElementType() reflect.Type
func (SyncAzureDestinationOutput) KeyVaultUri ¶
func (o SyncAzureDestinationOutput) KeyVaultUri() pulumi.StringPtrOutput
URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment variable.
func (SyncAzureDestinationOutput) Name ¶
func (o SyncAzureDestinationOutput) Name() pulumi.StringOutput
Unique name of the Azure destination.
func (SyncAzureDestinationOutput) Namespace ¶
func (o SyncAzureDestinationOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
func (SyncAzureDestinationOutput) SecretNameTemplate ¶
func (o SyncAzureDestinationOutput) SecretNameTemplate() pulumi.StringOutput
Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
func (SyncAzureDestinationOutput) TenantId ¶
func (o SyncAzureDestinationOutput) TenantId() pulumi.StringPtrOutput
ID of the target Azure tenant. Can be omitted and directly provided to Vault using the `AZURE_TENANT_ID` environment variable.
func (SyncAzureDestinationOutput) ToSyncAzureDestinationOutput ¶
func (o SyncAzureDestinationOutput) ToSyncAzureDestinationOutput() SyncAzureDestinationOutput
func (SyncAzureDestinationOutput) ToSyncAzureDestinationOutputWithContext ¶
func (o SyncAzureDestinationOutput) ToSyncAzureDestinationOutputWithContext(ctx context.Context) SyncAzureDestinationOutput
func (SyncAzureDestinationOutput) Type ¶
func (o SyncAzureDestinationOutput) Type() pulumi.StringOutput
The type of the secrets destination (`azure-kv`).
type SyncAzureDestinationState ¶
type SyncAzureDestinationState struct { // Client ID of an Azure app registration. // Can be omitted and directly provided to Vault using the `AZURE_CLIENT_ID` environment // variable. ClientId pulumi.StringPtrInput // Client Secret of an Azure app registration. // Can be omitted and directly provided to Vault using the `AZURE_CLIENT_SECRET` environment // variable. ClientSecret pulumi.StringPtrInput // Specifies a cloud for the client. The default is Azure Public Cloud. Cloud pulumi.StringPtrInput // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapInput // URI of an existing Azure Key Vault instance. // Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment // variable. KeyVaultUri pulumi.StringPtrInput // Unique name of the Azure destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput // ID of the target Azure tenant. // Can be omitted and directly provided to Vault using the `AZURE_TENANT_ID` environment // variable. TenantId pulumi.StringPtrInput // The type of the secrets destination (`azure-kv`). Type pulumi.StringPtrInput }
func (SyncAzureDestinationState) ElementType ¶
func (SyncAzureDestinationState) ElementType() reflect.Type
type SyncConfig ¶
type SyncConfig struct { pulumi.CustomResourceState // Disables the syncing process between Vault and external destinations. Defaults to `false`. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // The namespace to provision the resource in. // This resource can only be configured in the root namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Maximum number of pending sync operations allowed on the queue. Defaults to `1000000`. QueueCapacity pulumi.IntPtrOutput `pulumi:"queueCapacity"` }
Configures the secret sync global config. The config is global and can only be managed in the root namespace.
> **Important** The config is global so the secrets.SyncConfig resource must not be defined multiple times for the same Vault server. If multiple definition exists, the last one applied will be effective.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v5/go/vault/secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secrets.NewSyncConfig(ctx, "globalConfig", &secrets.SyncConfigArgs{ Disabled: pulumi.Bool(true), QueueCapacity: pulumi.Int(500000), }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import vault:secrets/syncConfig:SyncConfig config global_config
```
func GetSyncConfig ¶
func GetSyncConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SyncConfigState, opts ...pulumi.ResourceOption) (*SyncConfig, error)
GetSyncConfig gets an existing SyncConfig 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 NewSyncConfig ¶
func NewSyncConfig(ctx *pulumi.Context, name string, args *SyncConfigArgs, opts ...pulumi.ResourceOption) (*SyncConfig, error)
NewSyncConfig registers a new resource with the given unique name, arguments, and options.
func (*SyncConfig) ElementType ¶
func (*SyncConfig) ElementType() reflect.Type
func (*SyncConfig) ToSyncConfigOutput ¶
func (i *SyncConfig) ToSyncConfigOutput() SyncConfigOutput
func (*SyncConfig) ToSyncConfigOutputWithContext ¶
func (i *SyncConfig) ToSyncConfigOutputWithContext(ctx context.Context) SyncConfigOutput
type SyncConfigArgs ¶
type SyncConfigArgs struct { // Disables the syncing process between Vault and external destinations. Defaults to `false`. Disabled pulumi.BoolPtrInput // The namespace to provision the resource in. // This resource can only be configured in the root namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Maximum number of pending sync operations allowed on the queue. Defaults to `1000000`. QueueCapacity pulumi.IntPtrInput }
The set of arguments for constructing a SyncConfig resource.
func (SyncConfigArgs) ElementType ¶
func (SyncConfigArgs) ElementType() reflect.Type
type SyncConfigArray ¶
type SyncConfigArray []SyncConfigInput
func (SyncConfigArray) ElementType ¶
func (SyncConfigArray) ElementType() reflect.Type
func (SyncConfigArray) ToSyncConfigArrayOutput ¶
func (i SyncConfigArray) ToSyncConfigArrayOutput() SyncConfigArrayOutput
func (SyncConfigArray) ToSyncConfigArrayOutputWithContext ¶
func (i SyncConfigArray) ToSyncConfigArrayOutputWithContext(ctx context.Context) SyncConfigArrayOutput
type SyncConfigArrayInput ¶
type SyncConfigArrayInput interface { pulumi.Input ToSyncConfigArrayOutput() SyncConfigArrayOutput ToSyncConfigArrayOutputWithContext(context.Context) SyncConfigArrayOutput }
SyncConfigArrayInput is an input type that accepts SyncConfigArray and SyncConfigArrayOutput values. You can construct a concrete instance of `SyncConfigArrayInput` via:
SyncConfigArray{ SyncConfigArgs{...} }
type SyncConfigArrayOutput ¶
type SyncConfigArrayOutput struct{ *pulumi.OutputState }
func (SyncConfigArrayOutput) ElementType ¶
func (SyncConfigArrayOutput) ElementType() reflect.Type
func (SyncConfigArrayOutput) Index ¶
func (o SyncConfigArrayOutput) Index(i pulumi.IntInput) SyncConfigOutput
func (SyncConfigArrayOutput) ToSyncConfigArrayOutput ¶
func (o SyncConfigArrayOutput) ToSyncConfigArrayOutput() SyncConfigArrayOutput
func (SyncConfigArrayOutput) ToSyncConfigArrayOutputWithContext ¶
func (o SyncConfigArrayOutput) ToSyncConfigArrayOutputWithContext(ctx context.Context) SyncConfigArrayOutput
type SyncConfigInput ¶
type SyncConfigInput interface { pulumi.Input ToSyncConfigOutput() SyncConfigOutput ToSyncConfigOutputWithContext(ctx context.Context) SyncConfigOutput }
type SyncConfigMap ¶
type SyncConfigMap map[string]SyncConfigInput
func (SyncConfigMap) ElementType ¶
func (SyncConfigMap) ElementType() reflect.Type
func (SyncConfigMap) ToSyncConfigMapOutput ¶
func (i SyncConfigMap) ToSyncConfigMapOutput() SyncConfigMapOutput
func (SyncConfigMap) ToSyncConfigMapOutputWithContext ¶
func (i SyncConfigMap) ToSyncConfigMapOutputWithContext(ctx context.Context) SyncConfigMapOutput
type SyncConfigMapInput ¶
type SyncConfigMapInput interface { pulumi.Input ToSyncConfigMapOutput() SyncConfigMapOutput ToSyncConfigMapOutputWithContext(context.Context) SyncConfigMapOutput }
SyncConfigMapInput is an input type that accepts SyncConfigMap and SyncConfigMapOutput values. You can construct a concrete instance of `SyncConfigMapInput` via:
SyncConfigMap{ "key": SyncConfigArgs{...} }
type SyncConfigMapOutput ¶
type SyncConfigMapOutput struct{ *pulumi.OutputState }
func (SyncConfigMapOutput) ElementType ¶
func (SyncConfigMapOutput) ElementType() reflect.Type
func (SyncConfigMapOutput) MapIndex ¶
func (o SyncConfigMapOutput) MapIndex(k pulumi.StringInput) SyncConfigOutput
func (SyncConfigMapOutput) ToSyncConfigMapOutput ¶
func (o SyncConfigMapOutput) ToSyncConfigMapOutput() SyncConfigMapOutput
func (SyncConfigMapOutput) ToSyncConfigMapOutputWithContext ¶
func (o SyncConfigMapOutput) ToSyncConfigMapOutputWithContext(ctx context.Context) SyncConfigMapOutput
type SyncConfigOutput ¶
type SyncConfigOutput struct{ *pulumi.OutputState }
func (SyncConfigOutput) Disabled ¶
func (o SyncConfigOutput) Disabled() pulumi.BoolPtrOutput
Disables the syncing process between Vault and external destinations. Defaults to `false`.
func (SyncConfigOutput) ElementType ¶
func (SyncConfigOutput) ElementType() reflect.Type
func (SyncConfigOutput) Namespace ¶
func (o SyncConfigOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. This resource can only be configured in the root namespace. *Available only for Vault Enterprise*.
func (SyncConfigOutput) QueueCapacity ¶
func (o SyncConfigOutput) QueueCapacity() pulumi.IntPtrOutput
Maximum number of pending sync operations allowed on the queue. Defaults to `1000000`.
func (SyncConfigOutput) ToSyncConfigOutput ¶
func (o SyncConfigOutput) ToSyncConfigOutput() SyncConfigOutput
func (SyncConfigOutput) ToSyncConfigOutputWithContext ¶
func (o SyncConfigOutput) ToSyncConfigOutputWithContext(ctx context.Context) SyncConfigOutput
type SyncConfigState ¶
type SyncConfigState struct { // Disables the syncing process between Vault and external destinations. Defaults to `false`. Disabled pulumi.BoolPtrInput // The namespace to provision the resource in. // This resource can only be configured in the root namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Maximum number of pending sync operations allowed on the queue. Defaults to `1000000`. QueueCapacity pulumi.IntPtrInput }
func (SyncConfigState) ElementType ¶
func (SyncConfigState) ElementType() reflect.Type
type SyncGcpDestination ¶
type SyncGcpDestination struct { pulumi.CustomResourceState // JSON-encoded credentials to use to connect to GCP. // Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment // variable. Credentials pulumi.StringPtrOutput `pulumi:"credentials"` // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapOutput `pulumi:"customTags"` // Unique name of the GCP destination. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringOutput `pulumi:"secretNameTemplate"` // The type of the secrets destination (`gcp-sm`). Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
```go package main
import (
"os" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secrets.NewSyncGcpDestination(ctx, "gcp", &secrets.SyncGcpDestinationArgs{ Credentials: readFileOrPanic(_var.Credentials_file), SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"), CustomTags: pulumi.Map{ "foo": pulumi.Any("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
GCP Secrets sync destinations can be imported using the `name`, e.g.
```sh
$ pulumi import vault:secrets/syncGcpDestination:SyncGcpDestination gcp gcp-dest
```
func GetSyncGcpDestination ¶
func GetSyncGcpDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SyncGcpDestinationState, opts ...pulumi.ResourceOption) (*SyncGcpDestination, error)
GetSyncGcpDestination gets an existing SyncGcpDestination 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 NewSyncGcpDestination ¶
func NewSyncGcpDestination(ctx *pulumi.Context, name string, args *SyncGcpDestinationArgs, opts ...pulumi.ResourceOption) (*SyncGcpDestination, error)
NewSyncGcpDestination registers a new resource with the given unique name, arguments, and options.
func (*SyncGcpDestination) ElementType ¶
func (*SyncGcpDestination) ElementType() reflect.Type
func (*SyncGcpDestination) ToSyncGcpDestinationOutput ¶
func (i *SyncGcpDestination) ToSyncGcpDestinationOutput() SyncGcpDestinationOutput
func (*SyncGcpDestination) ToSyncGcpDestinationOutputWithContext ¶
func (i *SyncGcpDestination) ToSyncGcpDestinationOutputWithContext(ctx context.Context) SyncGcpDestinationOutput
type SyncGcpDestinationArgs ¶
type SyncGcpDestinationArgs struct { // JSON-encoded credentials to use to connect to GCP. // Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment // variable. Credentials pulumi.StringPtrInput // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapInput // Unique name of the GCP destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput }
The set of arguments for constructing a SyncGcpDestination resource.
func (SyncGcpDestinationArgs) ElementType ¶
func (SyncGcpDestinationArgs) ElementType() reflect.Type
type SyncGcpDestinationArray ¶
type SyncGcpDestinationArray []SyncGcpDestinationInput
func (SyncGcpDestinationArray) ElementType ¶
func (SyncGcpDestinationArray) ElementType() reflect.Type
func (SyncGcpDestinationArray) ToSyncGcpDestinationArrayOutput ¶
func (i SyncGcpDestinationArray) ToSyncGcpDestinationArrayOutput() SyncGcpDestinationArrayOutput
func (SyncGcpDestinationArray) ToSyncGcpDestinationArrayOutputWithContext ¶
func (i SyncGcpDestinationArray) ToSyncGcpDestinationArrayOutputWithContext(ctx context.Context) SyncGcpDestinationArrayOutput
type SyncGcpDestinationArrayInput ¶
type SyncGcpDestinationArrayInput interface { pulumi.Input ToSyncGcpDestinationArrayOutput() SyncGcpDestinationArrayOutput ToSyncGcpDestinationArrayOutputWithContext(context.Context) SyncGcpDestinationArrayOutput }
SyncGcpDestinationArrayInput is an input type that accepts SyncGcpDestinationArray and SyncGcpDestinationArrayOutput values. You can construct a concrete instance of `SyncGcpDestinationArrayInput` via:
SyncGcpDestinationArray{ SyncGcpDestinationArgs{...} }
type SyncGcpDestinationArrayOutput ¶
type SyncGcpDestinationArrayOutput struct{ *pulumi.OutputState }
func (SyncGcpDestinationArrayOutput) ElementType ¶
func (SyncGcpDestinationArrayOutput) ElementType() reflect.Type
func (SyncGcpDestinationArrayOutput) Index ¶
func (o SyncGcpDestinationArrayOutput) Index(i pulumi.IntInput) SyncGcpDestinationOutput
func (SyncGcpDestinationArrayOutput) ToSyncGcpDestinationArrayOutput ¶
func (o SyncGcpDestinationArrayOutput) ToSyncGcpDestinationArrayOutput() SyncGcpDestinationArrayOutput
func (SyncGcpDestinationArrayOutput) ToSyncGcpDestinationArrayOutputWithContext ¶
func (o SyncGcpDestinationArrayOutput) ToSyncGcpDestinationArrayOutputWithContext(ctx context.Context) SyncGcpDestinationArrayOutput
type SyncGcpDestinationInput ¶
type SyncGcpDestinationInput interface { pulumi.Input ToSyncGcpDestinationOutput() SyncGcpDestinationOutput ToSyncGcpDestinationOutputWithContext(ctx context.Context) SyncGcpDestinationOutput }
type SyncGcpDestinationMap ¶
type SyncGcpDestinationMap map[string]SyncGcpDestinationInput
func (SyncGcpDestinationMap) ElementType ¶
func (SyncGcpDestinationMap) ElementType() reflect.Type
func (SyncGcpDestinationMap) ToSyncGcpDestinationMapOutput ¶
func (i SyncGcpDestinationMap) ToSyncGcpDestinationMapOutput() SyncGcpDestinationMapOutput
func (SyncGcpDestinationMap) ToSyncGcpDestinationMapOutputWithContext ¶
func (i SyncGcpDestinationMap) ToSyncGcpDestinationMapOutputWithContext(ctx context.Context) SyncGcpDestinationMapOutput
type SyncGcpDestinationMapInput ¶
type SyncGcpDestinationMapInput interface { pulumi.Input ToSyncGcpDestinationMapOutput() SyncGcpDestinationMapOutput ToSyncGcpDestinationMapOutputWithContext(context.Context) SyncGcpDestinationMapOutput }
SyncGcpDestinationMapInput is an input type that accepts SyncGcpDestinationMap and SyncGcpDestinationMapOutput values. You can construct a concrete instance of `SyncGcpDestinationMapInput` via:
SyncGcpDestinationMap{ "key": SyncGcpDestinationArgs{...} }
type SyncGcpDestinationMapOutput ¶
type SyncGcpDestinationMapOutput struct{ *pulumi.OutputState }
func (SyncGcpDestinationMapOutput) ElementType ¶
func (SyncGcpDestinationMapOutput) ElementType() reflect.Type
func (SyncGcpDestinationMapOutput) MapIndex ¶
func (o SyncGcpDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncGcpDestinationOutput
func (SyncGcpDestinationMapOutput) ToSyncGcpDestinationMapOutput ¶
func (o SyncGcpDestinationMapOutput) ToSyncGcpDestinationMapOutput() SyncGcpDestinationMapOutput
func (SyncGcpDestinationMapOutput) ToSyncGcpDestinationMapOutputWithContext ¶
func (o SyncGcpDestinationMapOutput) ToSyncGcpDestinationMapOutputWithContext(ctx context.Context) SyncGcpDestinationMapOutput
type SyncGcpDestinationOutput ¶
type SyncGcpDestinationOutput struct{ *pulumi.OutputState }
func (SyncGcpDestinationOutput) Credentials ¶
func (o SyncGcpDestinationOutput) Credentials() pulumi.StringPtrOutput
JSON-encoded credentials to use to connect to GCP. Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment variable.
func (SyncGcpDestinationOutput) CustomTags ¶
func (o SyncGcpDestinationOutput) CustomTags() pulumi.MapOutput
Custom tags to set on the secret managed at the destination.
func (SyncGcpDestinationOutput) ElementType ¶
func (SyncGcpDestinationOutput) ElementType() reflect.Type
func (SyncGcpDestinationOutput) Name ¶
func (o SyncGcpDestinationOutput) Name() pulumi.StringOutput
Unique name of the GCP destination.
func (SyncGcpDestinationOutput) Namespace ¶
func (o SyncGcpDestinationOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
func (SyncGcpDestinationOutput) SecretNameTemplate ¶
func (o SyncGcpDestinationOutput) SecretNameTemplate() pulumi.StringOutput
Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
func (SyncGcpDestinationOutput) ToSyncGcpDestinationOutput ¶
func (o SyncGcpDestinationOutput) ToSyncGcpDestinationOutput() SyncGcpDestinationOutput
func (SyncGcpDestinationOutput) ToSyncGcpDestinationOutputWithContext ¶
func (o SyncGcpDestinationOutput) ToSyncGcpDestinationOutputWithContext(ctx context.Context) SyncGcpDestinationOutput
func (SyncGcpDestinationOutput) Type ¶
func (o SyncGcpDestinationOutput) Type() pulumi.StringOutput
The type of the secrets destination (`gcp-sm`).
type SyncGcpDestinationState ¶
type SyncGcpDestinationState struct { // JSON-encoded credentials to use to connect to GCP. // Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment // variable. Credentials pulumi.StringPtrInput // Custom tags to set on the secret managed at the destination. CustomTags pulumi.MapInput // Unique name of the GCP destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput // The type of the secrets destination (`gcp-sm`). Type pulumi.StringPtrInput }
func (SyncGcpDestinationState) ElementType ¶
func (SyncGcpDestinationState) ElementType() reflect.Type
type SyncGhDestination ¶
type SyncGhDestination struct { pulumi.CustomResourceState // Fine-grained or personal access token. // Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment // variable. AccessToken pulumi.StringPtrOutput `pulumi:"accessToken"` // Unique name of the GitHub destination. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Name of the repository. // Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment // variable. RepositoryName pulumi.StringPtrOutput `pulumi:"repositoryName"` // GitHub organization or username that owns the repository. // Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_OWNER` environment // variable. RepositoryOwner pulumi.StringPtrOutput `pulumi:"repositoryOwner"` // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringOutput `pulumi:"secretNameTemplate"` // The type of the secrets destination (`gh`). Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v5/go/vault/secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secrets.NewSyncGhDestination(ctx, "gh", &secrets.SyncGhDestinationArgs{ AccessToken: pulumi.Any(_var.Access_token), RepositoryOwner: pulumi.Any(_var.Repo_owner), RepositoryName: pulumi.String("repo-name-example"), SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Secrets sync destinations can be imported using the `name`, e.g.
```sh
$ pulumi import vault:secrets/syncGhDestination:SyncGhDestination gh gh-dest
```
func GetSyncGhDestination ¶
func GetSyncGhDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SyncGhDestinationState, opts ...pulumi.ResourceOption) (*SyncGhDestination, error)
GetSyncGhDestination gets an existing SyncGhDestination 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 NewSyncGhDestination ¶
func NewSyncGhDestination(ctx *pulumi.Context, name string, args *SyncGhDestinationArgs, opts ...pulumi.ResourceOption) (*SyncGhDestination, error)
NewSyncGhDestination registers a new resource with the given unique name, arguments, and options.
func (*SyncGhDestination) ElementType ¶
func (*SyncGhDestination) ElementType() reflect.Type
func (*SyncGhDestination) ToSyncGhDestinationOutput ¶
func (i *SyncGhDestination) ToSyncGhDestinationOutput() SyncGhDestinationOutput
func (*SyncGhDestination) ToSyncGhDestinationOutputWithContext ¶
func (i *SyncGhDestination) ToSyncGhDestinationOutputWithContext(ctx context.Context) SyncGhDestinationOutput
type SyncGhDestinationArgs ¶
type SyncGhDestinationArgs struct { // Fine-grained or personal access token. // Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment // variable. AccessToken pulumi.StringPtrInput // Unique name of the GitHub destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Name of the repository. // Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment // variable. RepositoryName pulumi.StringPtrInput // GitHub organization or username that owns the repository. // Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_OWNER` environment // variable. RepositoryOwner pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput }
The set of arguments for constructing a SyncGhDestination resource.
func (SyncGhDestinationArgs) ElementType ¶
func (SyncGhDestinationArgs) ElementType() reflect.Type
type SyncGhDestinationArray ¶
type SyncGhDestinationArray []SyncGhDestinationInput
func (SyncGhDestinationArray) ElementType ¶
func (SyncGhDestinationArray) ElementType() reflect.Type
func (SyncGhDestinationArray) ToSyncGhDestinationArrayOutput ¶
func (i SyncGhDestinationArray) ToSyncGhDestinationArrayOutput() SyncGhDestinationArrayOutput
func (SyncGhDestinationArray) ToSyncGhDestinationArrayOutputWithContext ¶
func (i SyncGhDestinationArray) ToSyncGhDestinationArrayOutputWithContext(ctx context.Context) SyncGhDestinationArrayOutput
type SyncGhDestinationArrayInput ¶
type SyncGhDestinationArrayInput interface { pulumi.Input ToSyncGhDestinationArrayOutput() SyncGhDestinationArrayOutput ToSyncGhDestinationArrayOutputWithContext(context.Context) SyncGhDestinationArrayOutput }
SyncGhDestinationArrayInput is an input type that accepts SyncGhDestinationArray and SyncGhDestinationArrayOutput values. You can construct a concrete instance of `SyncGhDestinationArrayInput` via:
SyncGhDestinationArray{ SyncGhDestinationArgs{...} }
type SyncGhDestinationArrayOutput ¶
type SyncGhDestinationArrayOutput struct{ *pulumi.OutputState }
func (SyncGhDestinationArrayOutput) ElementType ¶
func (SyncGhDestinationArrayOutput) ElementType() reflect.Type
func (SyncGhDestinationArrayOutput) Index ¶
func (o SyncGhDestinationArrayOutput) Index(i pulumi.IntInput) SyncGhDestinationOutput
func (SyncGhDestinationArrayOutput) ToSyncGhDestinationArrayOutput ¶
func (o SyncGhDestinationArrayOutput) ToSyncGhDestinationArrayOutput() SyncGhDestinationArrayOutput
func (SyncGhDestinationArrayOutput) ToSyncGhDestinationArrayOutputWithContext ¶
func (o SyncGhDestinationArrayOutput) ToSyncGhDestinationArrayOutputWithContext(ctx context.Context) SyncGhDestinationArrayOutput
type SyncGhDestinationInput ¶
type SyncGhDestinationInput interface { pulumi.Input ToSyncGhDestinationOutput() SyncGhDestinationOutput ToSyncGhDestinationOutputWithContext(ctx context.Context) SyncGhDestinationOutput }
type SyncGhDestinationMap ¶
type SyncGhDestinationMap map[string]SyncGhDestinationInput
func (SyncGhDestinationMap) ElementType ¶
func (SyncGhDestinationMap) ElementType() reflect.Type
func (SyncGhDestinationMap) ToSyncGhDestinationMapOutput ¶
func (i SyncGhDestinationMap) ToSyncGhDestinationMapOutput() SyncGhDestinationMapOutput
func (SyncGhDestinationMap) ToSyncGhDestinationMapOutputWithContext ¶
func (i SyncGhDestinationMap) ToSyncGhDestinationMapOutputWithContext(ctx context.Context) SyncGhDestinationMapOutput
type SyncGhDestinationMapInput ¶
type SyncGhDestinationMapInput interface { pulumi.Input ToSyncGhDestinationMapOutput() SyncGhDestinationMapOutput ToSyncGhDestinationMapOutputWithContext(context.Context) SyncGhDestinationMapOutput }
SyncGhDestinationMapInput is an input type that accepts SyncGhDestinationMap and SyncGhDestinationMapOutput values. You can construct a concrete instance of `SyncGhDestinationMapInput` via:
SyncGhDestinationMap{ "key": SyncGhDestinationArgs{...} }
type SyncGhDestinationMapOutput ¶
type SyncGhDestinationMapOutput struct{ *pulumi.OutputState }
func (SyncGhDestinationMapOutput) ElementType ¶
func (SyncGhDestinationMapOutput) ElementType() reflect.Type
func (SyncGhDestinationMapOutput) MapIndex ¶
func (o SyncGhDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncGhDestinationOutput
func (SyncGhDestinationMapOutput) ToSyncGhDestinationMapOutput ¶
func (o SyncGhDestinationMapOutput) ToSyncGhDestinationMapOutput() SyncGhDestinationMapOutput
func (SyncGhDestinationMapOutput) ToSyncGhDestinationMapOutputWithContext ¶
func (o SyncGhDestinationMapOutput) ToSyncGhDestinationMapOutputWithContext(ctx context.Context) SyncGhDestinationMapOutput
type SyncGhDestinationOutput ¶
type SyncGhDestinationOutput struct{ *pulumi.OutputState }
func (SyncGhDestinationOutput) AccessToken ¶
func (o SyncGhDestinationOutput) AccessToken() pulumi.StringPtrOutput
Fine-grained or personal access token. Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment variable.
func (SyncGhDestinationOutput) ElementType ¶
func (SyncGhDestinationOutput) ElementType() reflect.Type
func (SyncGhDestinationOutput) Name ¶
func (o SyncGhDestinationOutput) Name() pulumi.StringOutput
Unique name of the GitHub destination.
func (SyncGhDestinationOutput) Namespace ¶
func (o SyncGhDestinationOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
func (SyncGhDestinationOutput) RepositoryName ¶
func (o SyncGhDestinationOutput) RepositoryName() pulumi.StringPtrOutput
Name of the repository. Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment variable.
func (SyncGhDestinationOutput) RepositoryOwner ¶
func (o SyncGhDestinationOutput) RepositoryOwner() pulumi.StringPtrOutput
GitHub organization or username that owns the repository. Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_OWNER` environment variable.
func (SyncGhDestinationOutput) SecretNameTemplate ¶
func (o SyncGhDestinationOutput) SecretNameTemplate() pulumi.StringOutput
Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
func (SyncGhDestinationOutput) ToSyncGhDestinationOutput ¶
func (o SyncGhDestinationOutput) ToSyncGhDestinationOutput() SyncGhDestinationOutput
func (SyncGhDestinationOutput) ToSyncGhDestinationOutputWithContext ¶
func (o SyncGhDestinationOutput) ToSyncGhDestinationOutputWithContext(ctx context.Context) SyncGhDestinationOutput
func (SyncGhDestinationOutput) Type ¶
func (o SyncGhDestinationOutput) Type() pulumi.StringOutput
The type of the secrets destination (`gh`).
type SyncGhDestinationState ¶
type SyncGhDestinationState struct { // Fine-grained or personal access token. // Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment // variable. AccessToken pulumi.StringPtrInput // Unique name of the GitHub destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Name of the repository. // Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment // variable. RepositoryName pulumi.StringPtrInput // GitHub organization or username that owns the repository. // Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_OWNER` environment // variable. RepositoryOwner pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput // The type of the secrets destination (`gh`). Type pulumi.StringPtrInput }
func (SyncGhDestinationState) ElementType ¶
func (SyncGhDestinationState) ElementType() reflect.Type
type SyncVercelDestination ¶
type SyncVercelDestination struct { pulumi.CustomResourceState // Vercel API access token with the permissions to manage environment // variables. AccessToken pulumi.StringOutput `pulumi:"accessToken"` // Deployment environments where the environment variables // are available. Accepts `development`, `preview` and `production`. DeploymentEnvironments pulumi.StringArrayOutput `pulumi:"deploymentEnvironments"` // Unique name of the GitHub destination. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Project ID where to manage environment variables. ProjectId pulumi.StringOutput `pulumi:"projectId"` // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringOutput `pulumi:"secretNameTemplate"` // Team ID where to manage environment variables. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The type of the secrets destination (`vercel-project`). Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v5/go/vault/secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secrets.NewSyncVercelDestination(ctx, "vercel", &secrets.SyncVercelDestinationArgs{ AccessToken: pulumi.Any(_var.Access_token), ProjectId: pulumi.Any(_var.Project_id), DeploymentEnvironments: pulumi.StringArray{ pulumi.String("development"), pulumi.String("preview"), pulumi.String("production"), }, SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Secrets sync destinations can be imported using the `name`, e.g.
```sh
$ pulumi import vault:secrets/syncVercelDestination:SyncVercelDestination vercel vercel-dest
```
func GetSyncVercelDestination ¶
func GetSyncVercelDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SyncVercelDestinationState, opts ...pulumi.ResourceOption) (*SyncVercelDestination, error)
GetSyncVercelDestination gets an existing SyncVercelDestination 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 NewSyncVercelDestination ¶
func NewSyncVercelDestination(ctx *pulumi.Context, name string, args *SyncVercelDestinationArgs, opts ...pulumi.ResourceOption) (*SyncVercelDestination, error)
NewSyncVercelDestination registers a new resource with the given unique name, arguments, and options.
func (*SyncVercelDestination) ElementType ¶
func (*SyncVercelDestination) ElementType() reflect.Type
func (*SyncVercelDestination) ToSyncVercelDestinationOutput ¶
func (i *SyncVercelDestination) ToSyncVercelDestinationOutput() SyncVercelDestinationOutput
func (*SyncVercelDestination) ToSyncVercelDestinationOutputWithContext ¶
func (i *SyncVercelDestination) ToSyncVercelDestinationOutputWithContext(ctx context.Context) SyncVercelDestinationOutput
type SyncVercelDestinationArgs ¶
type SyncVercelDestinationArgs struct { // Vercel API access token with the permissions to manage environment // variables. AccessToken pulumi.StringInput // Deployment environments where the environment variables // are available. Accepts `development`, `preview` and `production`. DeploymentEnvironments pulumi.StringArrayInput // Unique name of the GitHub destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Project ID where to manage environment variables. ProjectId pulumi.StringInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput // Team ID where to manage environment variables. TeamId pulumi.StringPtrInput }
The set of arguments for constructing a SyncVercelDestination resource.
func (SyncVercelDestinationArgs) ElementType ¶
func (SyncVercelDestinationArgs) ElementType() reflect.Type
type SyncVercelDestinationArray ¶
type SyncVercelDestinationArray []SyncVercelDestinationInput
func (SyncVercelDestinationArray) ElementType ¶
func (SyncVercelDestinationArray) ElementType() reflect.Type
func (SyncVercelDestinationArray) ToSyncVercelDestinationArrayOutput ¶
func (i SyncVercelDestinationArray) ToSyncVercelDestinationArrayOutput() SyncVercelDestinationArrayOutput
func (SyncVercelDestinationArray) ToSyncVercelDestinationArrayOutputWithContext ¶
func (i SyncVercelDestinationArray) ToSyncVercelDestinationArrayOutputWithContext(ctx context.Context) SyncVercelDestinationArrayOutput
type SyncVercelDestinationArrayInput ¶
type SyncVercelDestinationArrayInput interface { pulumi.Input ToSyncVercelDestinationArrayOutput() SyncVercelDestinationArrayOutput ToSyncVercelDestinationArrayOutputWithContext(context.Context) SyncVercelDestinationArrayOutput }
SyncVercelDestinationArrayInput is an input type that accepts SyncVercelDestinationArray and SyncVercelDestinationArrayOutput values. You can construct a concrete instance of `SyncVercelDestinationArrayInput` via:
SyncVercelDestinationArray{ SyncVercelDestinationArgs{...} }
type SyncVercelDestinationArrayOutput ¶
type SyncVercelDestinationArrayOutput struct{ *pulumi.OutputState }
func (SyncVercelDestinationArrayOutput) ElementType ¶
func (SyncVercelDestinationArrayOutput) ElementType() reflect.Type
func (SyncVercelDestinationArrayOutput) Index ¶
func (o SyncVercelDestinationArrayOutput) Index(i pulumi.IntInput) SyncVercelDestinationOutput
func (SyncVercelDestinationArrayOutput) ToSyncVercelDestinationArrayOutput ¶
func (o SyncVercelDestinationArrayOutput) ToSyncVercelDestinationArrayOutput() SyncVercelDestinationArrayOutput
func (SyncVercelDestinationArrayOutput) ToSyncVercelDestinationArrayOutputWithContext ¶
func (o SyncVercelDestinationArrayOutput) ToSyncVercelDestinationArrayOutputWithContext(ctx context.Context) SyncVercelDestinationArrayOutput
type SyncVercelDestinationInput ¶
type SyncVercelDestinationInput interface { pulumi.Input ToSyncVercelDestinationOutput() SyncVercelDestinationOutput ToSyncVercelDestinationOutputWithContext(ctx context.Context) SyncVercelDestinationOutput }
type SyncVercelDestinationMap ¶
type SyncVercelDestinationMap map[string]SyncVercelDestinationInput
func (SyncVercelDestinationMap) ElementType ¶
func (SyncVercelDestinationMap) ElementType() reflect.Type
func (SyncVercelDestinationMap) ToSyncVercelDestinationMapOutput ¶
func (i SyncVercelDestinationMap) ToSyncVercelDestinationMapOutput() SyncVercelDestinationMapOutput
func (SyncVercelDestinationMap) ToSyncVercelDestinationMapOutputWithContext ¶
func (i SyncVercelDestinationMap) ToSyncVercelDestinationMapOutputWithContext(ctx context.Context) SyncVercelDestinationMapOutput
type SyncVercelDestinationMapInput ¶
type SyncVercelDestinationMapInput interface { pulumi.Input ToSyncVercelDestinationMapOutput() SyncVercelDestinationMapOutput ToSyncVercelDestinationMapOutputWithContext(context.Context) SyncVercelDestinationMapOutput }
SyncVercelDestinationMapInput is an input type that accepts SyncVercelDestinationMap and SyncVercelDestinationMapOutput values. You can construct a concrete instance of `SyncVercelDestinationMapInput` via:
SyncVercelDestinationMap{ "key": SyncVercelDestinationArgs{...} }
type SyncVercelDestinationMapOutput ¶
type SyncVercelDestinationMapOutput struct{ *pulumi.OutputState }
func (SyncVercelDestinationMapOutput) ElementType ¶
func (SyncVercelDestinationMapOutput) ElementType() reflect.Type
func (SyncVercelDestinationMapOutput) MapIndex ¶
func (o SyncVercelDestinationMapOutput) MapIndex(k pulumi.StringInput) SyncVercelDestinationOutput
func (SyncVercelDestinationMapOutput) ToSyncVercelDestinationMapOutput ¶
func (o SyncVercelDestinationMapOutput) ToSyncVercelDestinationMapOutput() SyncVercelDestinationMapOutput
func (SyncVercelDestinationMapOutput) ToSyncVercelDestinationMapOutputWithContext ¶
func (o SyncVercelDestinationMapOutput) ToSyncVercelDestinationMapOutputWithContext(ctx context.Context) SyncVercelDestinationMapOutput
type SyncVercelDestinationOutput ¶
type SyncVercelDestinationOutput struct{ *pulumi.OutputState }
func (SyncVercelDestinationOutput) AccessToken ¶
func (o SyncVercelDestinationOutput) AccessToken() pulumi.StringOutput
Vercel API access token with the permissions to manage environment variables.
func (SyncVercelDestinationOutput) DeploymentEnvironments ¶
func (o SyncVercelDestinationOutput) DeploymentEnvironments() pulumi.StringArrayOutput
Deployment environments where the environment variables are available. Accepts `development`, `preview` and `production`.
func (SyncVercelDestinationOutput) ElementType ¶
func (SyncVercelDestinationOutput) ElementType() reflect.Type
func (SyncVercelDestinationOutput) Name ¶
func (o SyncVercelDestinationOutput) Name() pulumi.StringOutput
Unique name of the GitHub destination.
func (SyncVercelDestinationOutput) Namespace ¶
func (o SyncVercelDestinationOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
func (SyncVercelDestinationOutput) ProjectId ¶
func (o SyncVercelDestinationOutput) ProjectId() pulumi.StringOutput
Project ID where to manage environment variables.
func (SyncVercelDestinationOutput) SecretNameTemplate ¶
func (o SyncVercelDestinationOutput) SecretNameTemplate() pulumi.StringOutput
Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
func (SyncVercelDestinationOutput) TeamId ¶
func (o SyncVercelDestinationOutput) TeamId() pulumi.StringPtrOutput
Team ID where to manage environment variables.
func (SyncVercelDestinationOutput) ToSyncVercelDestinationOutput ¶
func (o SyncVercelDestinationOutput) ToSyncVercelDestinationOutput() SyncVercelDestinationOutput
func (SyncVercelDestinationOutput) ToSyncVercelDestinationOutputWithContext ¶
func (o SyncVercelDestinationOutput) ToSyncVercelDestinationOutputWithContext(ctx context.Context) SyncVercelDestinationOutput
func (SyncVercelDestinationOutput) Type ¶
func (o SyncVercelDestinationOutput) Type() pulumi.StringOutput
The type of the secrets destination (`vercel-project`).
type SyncVercelDestinationState ¶
type SyncVercelDestinationState struct { // Vercel API access token with the permissions to manage environment // variables. AccessToken pulumi.StringPtrInput // Deployment environments where the environment variables // are available. Accepts `development`, `preview` and `production`. DeploymentEnvironments pulumi.StringArrayInput // Unique name of the GitHub destination. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput // Project ID where to manage environment variables. ProjectId pulumi.StringPtrInput // Template describing how to generate external secret names. // Supports a subset of the Go Template syntax. SecretNameTemplate pulumi.StringPtrInput // Team ID where to manage environment variables. TeamId pulumi.StringPtrInput // The type of the secrets destination (`vercel-project`). Type pulumi.StringPtrInput }
func (SyncVercelDestinationState) ElementType ¶
func (SyncVercelDestinationState) ElementType() reflect.Type