keymanager

package
v3.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerV1

type ContainerV1 struct {
	pulumi.CustomResourceState

	// Allows to control an access to a container. Currently only
	// the `read` operation is supported. If not specified, the container is
	// accessible project wide. The `read` structure is described below.
	Acl ContainerV1AclOutput `pulumi:"acl"`
	// The list of the container consumers. The structure is described below.
	Consumers ContainerV1ConsumerArrayOutput `pulumi:"consumers"`
	// The container reference / where to find the container.
	ContainerRef pulumi.StringOutput `pulumi:"containerRef"`
	// The date the container ACL was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The creator of the container.
	CreatorId pulumi.StringOutput `pulumi:"creatorId"`
	// Human-readable name for the Container. Does not have
	// to be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a container. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 container.
	Region pulumi.StringOutput `pulumi:"region"`
	// A set of dictionaries containing references to secrets. The structure is described
	// below.
	SecretRefs ContainerV1SecretRefArrayOutput `pulumi:"secretRefs"`
	// The status of the container.
	Status pulumi.StringOutput `pulumi:"status"`
	// Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The date the container ACL was last updated.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

Manages a V1 Barbican container resource within OpenStack.

## Example Usage

### Simple secret

The container with the TLS certificates, which can be used by the loadbalancer HTTPS listener.

<!--Start PulumiCodeChooser --> ```go package main

import (

"os"

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/loadbalancer"
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking"
"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 {
		certificate1, err := keymanager.NewSecretV1(ctx, "certificate1", &keymanager.SecretV1Args{
			Payload:            readFileOrPanic("cert.pem"),
			SecretType:         pulumi.String("certificate"),
			PayloadContentType: pulumi.String("text/plain"),
		})
		if err != nil {
			return err
		}
		privateKey1, err := keymanager.NewSecretV1(ctx, "privateKey1", &keymanager.SecretV1Args{
			Payload:            readFileOrPanic("cert-key.pem"),
			SecretType:         pulumi.String("private"),
			PayloadContentType: pulumi.String("text/plain"),
		})
		if err != nil {
			return err
		}
		intermediate1, err := keymanager.NewSecretV1(ctx, "intermediate1", &keymanager.SecretV1Args{
			Payload:            readFileOrPanic("intermediate-ca.pem"),
			SecretType:         pulumi.String("certificate"),
			PayloadContentType: pulumi.String("text/plain"),
		})
		if err != nil {
			return err
		}
		tls1, err := keymanager.NewContainerV1(ctx, "tls1", &keymanager.ContainerV1Args{
			Type: pulumi.String("certificate"),
			SecretRefs: keymanager.ContainerV1SecretRefArray{
				&keymanager.ContainerV1SecretRefArgs{
					Name:      pulumi.String("certificate"),
					SecretRef: certificate1.SecretRef,
				},
				&keymanager.ContainerV1SecretRefArgs{
					Name:      pulumi.String("private_key"),
					SecretRef: privateKey1.SecretRef,
				},
				&keymanager.ContainerV1SecretRefArgs{
					Name:      pulumi.String("intermediates"),
					SecretRef: intermediate1.SecretRef,
				},
			},
		})
		if err != nil {
			return err
		}
		subnet1, err := networking.LookupSubnet(ctx, &networking.LookupSubnetArgs{
			Name: pulumi.StringRef("my-subnet"),
		}, nil)
		if err != nil {
			return err
		}
		lb1, err := loadbalancer.NewLoadBalancer(ctx, "lb1", &loadbalancer.LoadBalancerArgs{
			VipSubnetId: pulumi.String(subnet1.Id),
		})
		if err != nil {
			return err
		}
		_, err = loadbalancer.NewListener(ctx, "listener1", &loadbalancer.ListenerArgs{
			Protocol:               pulumi.String("TERMINATED_HTTPS"),
			ProtocolPort:           pulumi.Int(443),
			LoadbalancerId:         lb1.ID(),
			DefaultTlsContainerRef: tls1.ContainerRef,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Container with the ACL

> **Note** Only read ACLs are supported

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keymanager.NewContainerV1(ctx, "tls1", &keymanager.ContainerV1Args{
			Type: pulumi.String("certificate"),
			SecretRefs: keymanager.ContainerV1SecretRefArray{
				&keymanager.ContainerV1SecretRefArgs{
					Name:      pulumi.String("certificate"),
					SecretRef: pulumi.Any(openstack_keymanager_secret_v1.Certificate_1.Secret_ref),
				},
				&keymanager.ContainerV1SecretRefArgs{
					Name:      pulumi.String("private_key"),
					SecretRef: pulumi.Any(openstack_keymanager_secret_v1.Private_key_1.Secret_ref),
				},
				&keymanager.ContainerV1SecretRefArgs{
					Name:      pulumi.String("intermediates"),
					SecretRef: pulumi.Any(openstack_keymanager_secret_v1.Intermediate_1.Secret_ref),
				},
			},
			Acl: &keymanager.ContainerV1AclArgs{
				Read: &keymanager.ContainerV1AclReadArgs{
					ProjectAccess: pulumi.Bool(false),
					Users: pulumi.StringArray{
						pulumi.String("userid1"),
						pulumi.String("userid2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Containers can be imported using the container id (the last part of the container reference), e.g.:

```sh $ pulumi import openstack:keymanager/containerV1:ContainerV1 container_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953 ```

func GetContainerV1

func GetContainerV1(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContainerV1State, opts ...pulumi.ResourceOption) (*ContainerV1, error)

GetContainerV1 gets an existing ContainerV1 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 NewContainerV1

func NewContainerV1(ctx *pulumi.Context,
	name string, args *ContainerV1Args, opts ...pulumi.ResourceOption) (*ContainerV1, error)

NewContainerV1 registers a new resource with the given unique name, arguments, and options.

func (*ContainerV1) ElementType

func (*ContainerV1) ElementType() reflect.Type

func (*ContainerV1) ToContainerV1Output

func (i *ContainerV1) ToContainerV1Output() ContainerV1Output

func (*ContainerV1) ToContainerV1OutputWithContext

func (i *ContainerV1) ToContainerV1OutputWithContext(ctx context.Context) ContainerV1Output

type ContainerV1Acl

type ContainerV1Acl struct {
	Read *ContainerV1AclRead `pulumi:"read"`
}

type ContainerV1AclArgs

type ContainerV1AclArgs struct {
	Read ContainerV1AclReadPtrInput `pulumi:"read"`
}

func (ContainerV1AclArgs) ElementType

func (ContainerV1AclArgs) ElementType() reflect.Type

func (ContainerV1AclArgs) ToContainerV1AclOutput

func (i ContainerV1AclArgs) ToContainerV1AclOutput() ContainerV1AclOutput

func (ContainerV1AclArgs) ToContainerV1AclOutputWithContext

func (i ContainerV1AclArgs) ToContainerV1AclOutputWithContext(ctx context.Context) ContainerV1AclOutput

func (ContainerV1AclArgs) ToContainerV1AclPtrOutput

func (i ContainerV1AclArgs) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput

func (ContainerV1AclArgs) ToContainerV1AclPtrOutputWithContext

func (i ContainerV1AclArgs) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput

type ContainerV1AclInput

type ContainerV1AclInput interface {
	pulumi.Input

	ToContainerV1AclOutput() ContainerV1AclOutput
	ToContainerV1AclOutputWithContext(context.Context) ContainerV1AclOutput
}

ContainerV1AclInput is an input type that accepts ContainerV1AclArgs and ContainerV1AclOutput values. You can construct a concrete instance of `ContainerV1AclInput` via:

ContainerV1AclArgs{...}

type ContainerV1AclOutput

type ContainerV1AclOutput struct{ *pulumi.OutputState }

func (ContainerV1AclOutput) ElementType

func (ContainerV1AclOutput) ElementType() reflect.Type

func (ContainerV1AclOutput) Read

func (ContainerV1AclOutput) ToContainerV1AclOutput

func (o ContainerV1AclOutput) ToContainerV1AclOutput() ContainerV1AclOutput

func (ContainerV1AclOutput) ToContainerV1AclOutputWithContext

func (o ContainerV1AclOutput) ToContainerV1AclOutputWithContext(ctx context.Context) ContainerV1AclOutput

func (ContainerV1AclOutput) ToContainerV1AclPtrOutput

func (o ContainerV1AclOutput) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput

func (ContainerV1AclOutput) ToContainerV1AclPtrOutputWithContext

func (o ContainerV1AclOutput) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput

type ContainerV1AclPtrInput

type ContainerV1AclPtrInput interface {
	pulumi.Input

	ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput
	ToContainerV1AclPtrOutputWithContext(context.Context) ContainerV1AclPtrOutput
}

ContainerV1AclPtrInput is an input type that accepts ContainerV1AclArgs, ContainerV1AclPtr and ContainerV1AclPtrOutput values. You can construct a concrete instance of `ContainerV1AclPtrInput` via:

        ContainerV1AclArgs{...}

or:

        nil

type ContainerV1AclPtrOutput

type ContainerV1AclPtrOutput struct{ *pulumi.OutputState }

func (ContainerV1AclPtrOutput) Elem

func (ContainerV1AclPtrOutput) ElementType

func (ContainerV1AclPtrOutput) ElementType() reflect.Type

func (ContainerV1AclPtrOutput) Read

func (ContainerV1AclPtrOutput) ToContainerV1AclPtrOutput

func (o ContainerV1AclPtrOutput) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput

func (ContainerV1AclPtrOutput) ToContainerV1AclPtrOutputWithContext

func (o ContainerV1AclPtrOutput) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput

type ContainerV1AclRead

type ContainerV1AclRead struct {
	// The date the container ACL was created.
	CreatedAt *string `pulumi:"createdAt"`
	// Whether the container is accessible project wide.
	// Defaults to `true`.
	ProjectAccess *bool `pulumi:"projectAccess"`
	// The date the container ACL was last updated.
	UpdatedAt *string `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the
	// container, when `projectAccess` is set to `false`.
	Users []string `pulumi:"users"`
}

type ContainerV1AclReadArgs

type ContainerV1AclReadArgs struct {
	// The date the container ACL was created.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// Whether the container is accessible project wide.
	// Defaults to `true`.
	ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"`
	// The date the container ACL was last updated.
	UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the
	// container, when `projectAccess` is set to `false`.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (ContainerV1AclReadArgs) ElementType

func (ContainerV1AclReadArgs) ElementType() reflect.Type

func (ContainerV1AclReadArgs) ToContainerV1AclReadOutput

func (i ContainerV1AclReadArgs) ToContainerV1AclReadOutput() ContainerV1AclReadOutput

func (ContainerV1AclReadArgs) ToContainerV1AclReadOutputWithContext

func (i ContainerV1AclReadArgs) ToContainerV1AclReadOutputWithContext(ctx context.Context) ContainerV1AclReadOutput

func (ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutput

func (i ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput

func (ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutputWithContext

func (i ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput

type ContainerV1AclReadInput

type ContainerV1AclReadInput interface {
	pulumi.Input

	ToContainerV1AclReadOutput() ContainerV1AclReadOutput
	ToContainerV1AclReadOutputWithContext(context.Context) ContainerV1AclReadOutput
}

ContainerV1AclReadInput is an input type that accepts ContainerV1AclReadArgs and ContainerV1AclReadOutput values. You can construct a concrete instance of `ContainerV1AclReadInput` via:

ContainerV1AclReadArgs{...}

type ContainerV1AclReadOutput

type ContainerV1AclReadOutput struct{ *pulumi.OutputState }

func (ContainerV1AclReadOutput) CreatedAt

The date the container ACL was created.

func (ContainerV1AclReadOutput) ElementType

func (ContainerV1AclReadOutput) ElementType() reflect.Type

func (ContainerV1AclReadOutput) ProjectAccess

func (o ContainerV1AclReadOutput) ProjectAccess() pulumi.BoolPtrOutput

Whether the container is accessible project wide. Defaults to `true`.

func (ContainerV1AclReadOutput) ToContainerV1AclReadOutput

func (o ContainerV1AclReadOutput) ToContainerV1AclReadOutput() ContainerV1AclReadOutput

func (ContainerV1AclReadOutput) ToContainerV1AclReadOutputWithContext

func (o ContainerV1AclReadOutput) ToContainerV1AclReadOutputWithContext(ctx context.Context) ContainerV1AclReadOutput

func (ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutput

func (o ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput

func (ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutputWithContext

func (o ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput

func (ContainerV1AclReadOutput) UpdatedAt

The date the container ACL was last updated.

func (ContainerV1AclReadOutput) Users

The list of user IDs, which are allowed to access the container, when `projectAccess` is set to `false`.

type ContainerV1AclReadPtrInput

type ContainerV1AclReadPtrInput interface {
	pulumi.Input

	ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput
	ToContainerV1AclReadPtrOutputWithContext(context.Context) ContainerV1AclReadPtrOutput
}

ContainerV1AclReadPtrInput is an input type that accepts ContainerV1AclReadArgs, ContainerV1AclReadPtr and ContainerV1AclReadPtrOutput values. You can construct a concrete instance of `ContainerV1AclReadPtrInput` via:

        ContainerV1AclReadArgs{...}

or:

        nil

type ContainerV1AclReadPtrOutput

type ContainerV1AclReadPtrOutput struct{ *pulumi.OutputState }

func (ContainerV1AclReadPtrOutput) CreatedAt

The date the container ACL was created.

func (ContainerV1AclReadPtrOutput) Elem

func (ContainerV1AclReadPtrOutput) ElementType

func (ContainerV1AclReadPtrOutput) ProjectAccess

Whether the container is accessible project wide. Defaults to `true`.

func (ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutput

func (o ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput

func (ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutputWithContext

func (o ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput

func (ContainerV1AclReadPtrOutput) UpdatedAt

The date the container ACL was last updated.

func (ContainerV1AclReadPtrOutput) Users

The list of user IDs, which are allowed to access the container, when `projectAccess` is set to `false`.

type ContainerV1Args

type ContainerV1Args struct {
	// Allows to control an access to a container. Currently only
	// the `read` operation is supported. If not specified, the container is
	// accessible project wide. The `read` structure is described below.
	Acl ContainerV1AclPtrInput
	// Human-readable name for the Container. Does not have
	// to be unique.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a container. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 container.
	Region pulumi.StringPtrInput
	// A set of dictionaries containing references to secrets. The structure is described
	// below.
	SecretRefs ContainerV1SecretRefArrayInput
	// Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`.
	Type pulumi.StringInput
}

The set of arguments for constructing a ContainerV1 resource.

func (ContainerV1Args) ElementType

func (ContainerV1Args) ElementType() reflect.Type

type ContainerV1Array

type ContainerV1Array []ContainerV1Input

func (ContainerV1Array) ElementType

func (ContainerV1Array) ElementType() reflect.Type

func (ContainerV1Array) ToContainerV1ArrayOutput

func (i ContainerV1Array) ToContainerV1ArrayOutput() ContainerV1ArrayOutput

func (ContainerV1Array) ToContainerV1ArrayOutputWithContext

func (i ContainerV1Array) ToContainerV1ArrayOutputWithContext(ctx context.Context) ContainerV1ArrayOutput

type ContainerV1ArrayInput

type ContainerV1ArrayInput interface {
	pulumi.Input

	ToContainerV1ArrayOutput() ContainerV1ArrayOutput
	ToContainerV1ArrayOutputWithContext(context.Context) ContainerV1ArrayOutput
}

ContainerV1ArrayInput is an input type that accepts ContainerV1Array and ContainerV1ArrayOutput values. You can construct a concrete instance of `ContainerV1ArrayInput` via:

ContainerV1Array{ ContainerV1Args{...} }

type ContainerV1ArrayOutput

type ContainerV1ArrayOutput struct{ *pulumi.OutputState }

func (ContainerV1ArrayOutput) ElementType

func (ContainerV1ArrayOutput) ElementType() reflect.Type

func (ContainerV1ArrayOutput) Index

func (ContainerV1ArrayOutput) ToContainerV1ArrayOutput

func (o ContainerV1ArrayOutput) ToContainerV1ArrayOutput() ContainerV1ArrayOutput

func (ContainerV1ArrayOutput) ToContainerV1ArrayOutputWithContext

func (o ContainerV1ArrayOutput) ToContainerV1ArrayOutputWithContext(ctx context.Context) ContainerV1ArrayOutput

type ContainerV1Consumer

type ContainerV1Consumer struct {
	// Human-readable name for the Container. Does not have
	// to be unique.
	Name *string `pulumi:"name"`
	// The consumer URL.
	Url *string `pulumi:"url"`
}

type ContainerV1ConsumerArgs

type ContainerV1ConsumerArgs struct {
	// Human-readable name for the Container. Does not have
	// to be unique.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The consumer URL.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (ContainerV1ConsumerArgs) ElementType

func (ContainerV1ConsumerArgs) ElementType() reflect.Type

func (ContainerV1ConsumerArgs) ToContainerV1ConsumerOutput

func (i ContainerV1ConsumerArgs) ToContainerV1ConsumerOutput() ContainerV1ConsumerOutput

func (ContainerV1ConsumerArgs) ToContainerV1ConsumerOutputWithContext

func (i ContainerV1ConsumerArgs) ToContainerV1ConsumerOutputWithContext(ctx context.Context) ContainerV1ConsumerOutput

type ContainerV1ConsumerArray

type ContainerV1ConsumerArray []ContainerV1ConsumerInput

func (ContainerV1ConsumerArray) ElementType

func (ContainerV1ConsumerArray) ElementType() reflect.Type

func (ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutput

func (i ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutput() ContainerV1ConsumerArrayOutput

func (ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutputWithContext

func (i ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutputWithContext(ctx context.Context) ContainerV1ConsumerArrayOutput

type ContainerV1ConsumerArrayInput

type ContainerV1ConsumerArrayInput interface {
	pulumi.Input

	ToContainerV1ConsumerArrayOutput() ContainerV1ConsumerArrayOutput
	ToContainerV1ConsumerArrayOutputWithContext(context.Context) ContainerV1ConsumerArrayOutput
}

ContainerV1ConsumerArrayInput is an input type that accepts ContainerV1ConsumerArray and ContainerV1ConsumerArrayOutput values. You can construct a concrete instance of `ContainerV1ConsumerArrayInput` via:

ContainerV1ConsumerArray{ ContainerV1ConsumerArgs{...} }

type ContainerV1ConsumerArrayOutput

type ContainerV1ConsumerArrayOutput struct{ *pulumi.OutputState }

func (ContainerV1ConsumerArrayOutput) ElementType

func (ContainerV1ConsumerArrayOutput) Index

func (ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutput

func (o ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutput() ContainerV1ConsumerArrayOutput

func (ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutputWithContext

func (o ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutputWithContext(ctx context.Context) ContainerV1ConsumerArrayOutput

type ContainerV1ConsumerInput

type ContainerV1ConsumerInput interface {
	pulumi.Input

	ToContainerV1ConsumerOutput() ContainerV1ConsumerOutput
	ToContainerV1ConsumerOutputWithContext(context.Context) ContainerV1ConsumerOutput
}

ContainerV1ConsumerInput is an input type that accepts ContainerV1ConsumerArgs and ContainerV1ConsumerOutput values. You can construct a concrete instance of `ContainerV1ConsumerInput` via:

ContainerV1ConsumerArgs{...}

type ContainerV1ConsumerOutput

type ContainerV1ConsumerOutput struct{ *pulumi.OutputState }

func (ContainerV1ConsumerOutput) ElementType

func (ContainerV1ConsumerOutput) ElementType() reflect.Type

func (ContainerV1ConsumerOutput) Name

Human-readable name for the Container. Does not have to be unique.

func (ContainerV1ConsumerOutput) ToContainerV1ConsumerOutput

func (o ContainerV1ConsumerOutput) ToContainerV1ConsumerOutput() ContainerV1ConsumerOutput

func (ContainerV1ConsumerOutput) ToContainerV1ConsumerOutputWithContext

func (o ContainerV1ConsumerOutput) ToContainerV1ConsumerOutputWithContext(ctx context.Context) ContainerV1ConsumerOutput

func (ContainerV1ConsumerOutput) Url

The consumer URL.

type ContainerV1Input

type ContainerV1Input interface {
	pulumi.Input

	ToContainerV1Output() ContainerV1Output
	ToContainerV1OutputWithContext(ctx context.Context) ContainerV1Output
}

type ContainerV1Map

type ContainerV1Map map[string]ContainerV1Input

func (ContainerV1Map) ElementType

func (ContainerV1Map) ElementType() reflect.Type

func (ContainerV1Map) ToContainerV1MapOutput

func (i ContainerV1Map) ToContainerV1MapOutput() ContainerV1MapOutput

func (ContainerV1Map) ToContainerV1MapOutputWithContext

func (i ContainerV1Map) ToContainerV1MapOutputWithContext(ctx context.Context) ContainerV1MapOutput

type ContainerV1MapInput

type ContainerV1MapInput interface {
	pulumi.Input

	ToContainerV1MapOutput() ContainerV1MapOutput
	ToContainerV1MapOutputWithContext(context.Context) ContainerV1MapOutput
}

ContainerV1MapInput is an input type that accepts ContainerV1Map and ContainerV1MapOutput values. You can construct a concrete instance of `ContainerV1MapInput` via:

ContainerV1Map{ "key": ContainerV1Args{...} }

type ContainerV1MapOutput

type ContainerV1MapOutput struct{ *pulumi.OutputState }

func (ContainerV1MapOutput) ElementType

func (ContainerV1MapOutput) ElementType() reflect.Type

func (ContainerV1MapOutput) MapIndex

func (ContainerV1MapOutput) ToContainerV1MapOutput

func (o ContainerV1MapOutput) ToContainerV1MapOutput() ContainerV1MapOutput

func (ContainerV1MapOutput) ToContainerV1MapOutputWithContext

func (o ContainerV1MapOutput) ToContainerV1MapOutputWithContext(ctx context.Context) ContainerV1MapOutput

type ContainerV1Output

type ContainerV1Output struct{ *pulumi.OutputState }

func (ContainerV1Output) Acl added in v3.9.0

Allows to control an access to a container. Currently only the `read` operation is supported. If not specified, the container is accessible project wide. The `read` structure is described below.

func (ContainerV1Output) Consumers added in v3.9.0

The list of the container consumers. The structure is described below.

func (ContainerV1Output) ContainerRef added in v3.9.0

func (o ContainerV1Output) ContainerRef() pulumi.StringOutput

The container reference / where to find the container.

func (ContainerV1Output) CreatedAt added in v3.9.0

func (o ContainerV1Output) CreatedAt() pulumi.StringOutput

The date the container ACL was created.

func (ContainerV1Output) CreatorId added in v3.9.0

func (o ContainerV1Output) CreatorId() pulumi.StringOutput

The creator of the container.

func (ContainerV1Output) ElementType

func (ContainerV1Output) ElementType() reflect.Type

func (ContainerV1Output) Name added in v3.9.0

Human-readable name for the Container. Does not have to be unique.

func (ContainerV1Output) Region added in v3.9.0

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a container. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 container.

func (ContainerV1Output) SecretRefs added in v3.9.0

A set of dictionaries containing references to secrets. The structure is described below.

func (ContainerV1Output) Status added in v3.9.0

The status of the container.

func (ContainerV1Output) ToContainerV1Output

func (o ContainerV1Output) ToContainerV1Output() ContainerV1Output

func (ContainerV1Output) ToContainerV1OutputWithContext

func (o ContainerV1Output) ToContainerV1OutputWithContext(ctx context.Context) ContainerV1Output

func (ContainerV1Output) Type added in v3.9.0

Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`.

func (ContainerV1Output) UpdatedAt added in v3.9.0

func (o ContainerV1Output) UpdatedAt() pulumi.StringOutput

The date the container ACL was last updated.

type ContainerV1SecretRef

type ContainerV1SecretRef struct {
	// The name of the secret reference. The reference names must correspond the container type, more details are available [here](https://docs.openstack.org/barbican/stein/api/reference/containers.html).
	Name *string `pulumi:"name"`
	// The secret reference / where to find the secret, URL.
	SecretRef string `pulumi:"secretRef"`
}

type ContainerV1SecretRefArgs

type ContainerV1SecretRefArgs struct {
	// The name of the secret reference. The reference names must correspond the container type, more details are available [here](https://docs.openstack.org/barbican/stein/api/reference/containers.html).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The secret reference / where to find the secret, URL.
	SecretRef pulumi.StringInput `pulumi:"secretRef"`
}

func (ContainerV1SecretRefArgs) ElementType

func (ContainerV1SecretRefArgs) ElementType() reflect.Type

func (ContainerV1SecretRefArgs) ToContainerV1SecretRefOutput

func (i ContainerV1SecretRefArgs) ToContainerV1SecretRefOutput() ContainerV1SecretRefOutput

func (ContainerV1SecretRefArgs) ToContainerV1SecretRefOutputWithContext

func (i ContainerV1SecretRefArgs) ToContainerV1SecretRefOutputWithContext(ctx context.Context) ContainerV1SecretRefOutput

type ContainerV1SecretRefArray

type ContainerV1SecretRefArray []ContainerV1SecretRefInput

func (ContainerV1SecretRefArray) ElementType

func (ContainerV1SecretRefArray) ElementType() reflect.Type

func (ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutput

func (i ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutput() ContainerV1SecretRefArrayOutput

func (ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutputWithContext

func (i ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutputWithContext(ctx context.Context) ContainerV1SecretRefArrayOutput

type ContainerV1SecretRefArrayInput

type ContainerV1SecretRefArrayInput interface {
	pulumi.Input

	ToContainerV1SecretRefArrayOutput() ContainerV1SecretRefArrayOutput
	ToContainerV1SecretRefArrayOutputWithContext(context.Context) ContainerV1SecretRefArrayOutput
}

ContainerV1SecretRefArrayInput is an input type that accepts ContainerV1SecretRefArray and ContainerV1SecretRefArrayOutput values. You can construct a concrete instance of `ContainerV1SecretRefArrayInput` via:

ContainerV1SecretRefArray{ ContainerV1SecretRefArgs{...} }

type ContainerV1SecretRefArrayOutput

type ContainerV1SecretRefArrayOutput struct{ *pulumi.OutputState }

func (ContainerV1SecretRefArrayOutput) ElementType

func (ContainerV1SecretRefArrayOutput) Index

func (ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutput

func (o ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutput() ContainerV1SecretRefArrayOutput

func (ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutputWithContext

func (o ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutputWithContext(ctx context.Context) ContainerV1SecretRefArrayOutput

type ContainerV1SecretRefInput

type ContainerV1SecretRefInput interface {
	pulumi.Input

	ToContainerV1SecretRefOutput() ContainerV1SecretRefOutput
	ToContainerV1SecretRefOutputWithContext(context.Context) ContainerV1SecretRefOutput
}

ContainerV1SecretRefInput is an input type that accepts ContainerV1SecretRefArgs and ContainerV1SecretRefOutput values. You can construct a concrete instance of `ContainerV1SecretRefInput` via:

ContainerV1SecretRefArgs{...}

type ContainerV1SecretRefOutput

type ContainerV1SecretRefOutput struct{ *pulumi.OutputState }

func (ContainerV1SecretRefOutput) ElementType

func (ContainerV1SecretRefOutput) ElementType() reflect.Type

func (ContainerV1SecretRefOutput) Name

The name of the secret reference. The reference names must correspond the container type, more details are available [here](https://docs.openstack.org/barbican/stein/api/reference/containers.html).

func (ContainerV1SecretRefOutput) SecretRef

The secret reference / where to find the secret, URL.

func (ContainerV1SecretRefOutput) ToContainerV1SecretRefOutput

func (o ContainerV1SecretRefOutput) ToContainerV1SecretRefOutput() ContainerV1SecretRefOutput

func (ContainerV1SecretRefOutput) ToContainerV1SecretRefOutputWithContext

func (o ContainerV1SecretRefOutput) ToContainerV1SecretRefOutputWithContext(ctx context.Context) ContainerV1SecretRefOutput

type ContainerV1State

type ContainerV1State struct {
	// Allows to control an access to a container. Currently only
	// the `read` operation is supported. If not specified, the container is
	// accessible project wide. The `read` structure is described below.
	Acl ContainerV1AclPtrInput
	// The list of the container consumers. The structure is described below.
	Consumers ContainerV1ConsumerArrayInput
	// The container reference / where to find the container.
	ContainerRef pulumi.StringPtrInput
	// The date the container ACL was created.
	CreatedAt pulumi.StringPtrInput
	// The creator of the container.
	CreatorId pulumi.StringPtrInput
	// Human-readable name for the Container. Does not have
	// to be unique.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a container. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 container.
	Region pulumi.StringPtrInput
	// A set of dictionaries containing references to secrets. The structure is described
	// below.
	SecretRefs ContainerV1SecretRefArrayInput
	// The status of the container.
	Status pulumi.StringPtrInput
	// Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`.
	Type pulumi.StringPtrInput
	// The date the container ACL was last updated.
	UpdatedAt pulumi.StringPtrInput
}

func (ContainerV1State) ElementType

func (ContainerV1State) ElementType() reflect.Type

type GetContainerAcl

type GetContainerAcl struct {
	Read GetContainerAclRead `pulumi:"read"`
}

type GetContainerAclArgs

type GetContainerAclArgs struct {
	Read GetContainerAclReadInput `pulumi:"read"`
}

func (GetContainerAclArgs) ElementType

func (GetContainerAclArgs) ElementType() reflect.Type

func (GetContainerAclArgs) ToGetContainerAclOutput

func (i GetContainerAclArgs) ToGetContainerAclOutput() GetContainerAclOutput

func (GetContainerAclArgs) ToGetContainerAclOutputWithContext

func (i GetContainerAclArgs) ToGetContainerAclOutputWithContext(ctx context.Context) GetContainerAclOutput

type GetContainerAclArray

type GetContainerAclArray []GetContainerAclInput

func (GetContainerAclArray) ElementType

func (GetContainerAclArray) ElementType() reflect.Type

func (GetContainerAclArray) ToGetContainerAclArrayOutput

func (i GetContainerAclArray) ToGetContainerAclArrayOutput() GetContainerAclArrayOutput

func (GetContainerAclArray) ToGetContainerAclArrayOutputWithContext

func (i GetContainerAclArray) ToGetContainerAclArrayOutputWithContext(ctx context.Context) GetContainerAclArrayOutput

type GetContainerAclArrayInput

type GetContainerAclArrayInput interface {
	pulumi.Input

	ToGetContainerAclArrayOutput() GetContainerAclArrayOutput
	ToGetContainerAclArrayOutputWithContext(context.Context) GetContainerAclArrayOutput
}

GetContainerAclArrayInput is an input type that accepts GetContainerAclArray and GetContainerAclArrayOutput values. You can construct a concrete instance of `GetContainerAclArrayInput` via:

GetContainerAclArray{ GetContainerAclArgs{...} }

type GetContainerAclArrayOutput

type GetContainerAclArrayOutput struct{ *pulumi.OutputState }

func (GetContainerAclArrayOutput) ElementType

func (GetContainerAclArrayOutput) ElementType() reflect.Type

func (GetContainerAclArrayOutput) Index

func (GetContainerAclArrayOutput) ToGetContainerAclArrayOutput

func (o GetContainerAclArrayOutput) ToGetContainerAclArrayOutput() GetContainerAclArrayOutput

func (GetContainerAclArrayOutput) ToGetContainerAclArrayOutputWithContext

func (o GetContainerAclArrayOutput) ToGetContainerAclArrayOutputWithContext(ctx context.Context) GetContainerAclArrayOutput

type GetContainerAclInput

type GetContainerAclInput interface {
	pulumi.Input

	ToGetContainerAclOutput() GetContainerAclOutput
	ToGetContainerAclOutputWithContext(context.Context) GetContainerAclOutput
}

GetContainerAclInput is an input type that accepts GetContainerAclArgs and GetContainerAclOutput values. You can construct a concrete instance of `GetContainerAclInput` via:

GetContainerAclArgs{...}

type GetContainerAclOutput

type GetContainerAclOutput struct{ *pulumi.OutputState }

func (GetContainerAclOutput) ElementType

func (GetContainerAclOutput) ElementType() reflect.Type

func (GetContainerAclOutput) Read

func (GetContainerAclOutput) ToGetContainerAclOutput

func (o GetContainerAclOutput) ToGetContainerAclOutput() GetContainerAclOutput

func (GetContainerAclOutput) ToGetContainerAclOutputWithContext

func (o GetContainerAclOutput) ToGetContainerAclOutputWithContext(ctx context.Context) GetContainerAclOutput

type GetContainerAclRead

type GetContainerAclRead struct {
	// The date the container ACL was created.
	CreatedAt string `pulumi:"createdAt"`
	// Whether the container is accessible project wide.
	ProjectAccess *bool `pulumi:"projectAccess"`
	// The date the container ACL was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the container,
	// when `projectAccess` is set to `false`.
	Users []string `pulumi:"users"`
}

type GetContainerAclReadArgs

type GetContainerAclReadArgs struct {
	// The date the container ACL was created.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Whether the container is accessible project wide.
	ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"`
	// The date the container ACL was last updated.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the container,
	// when `projectAccess` is set to `false`.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (GetContainerAclReadArgs) ElementType

func (GetContainerAclReadArgs) ElementType() reflect.Type

func (GetContainerAclReadArgs) ToGetContainerAclReadOutput

func (i GetContainerAclReadArgs) ToGetContainerAclReadOutput() GetContainerAclReadOutput

func (GetContainerAclReadArgs) ToGetContainerAclReadOutputWithContext

func (i GetContainerAclReadArgs) ToGetContainerAclReadOutputWithContext(ctx context.Context) GetContainerAclReadOutput

type GetContainerAclReadInput

type GetContainerAclReadInput interface {
	pulumi.Input

	ToGetContainerAclReadOutput() GetContainerAclReadOutput
	ToGetContainerAclReadOutputWithContext(context.Context) GetContainerAclReadOutput
}

GetContainerAclReadInput is an input type that accepts GetContainerAclReadArgs and GetContainerAclReadOutput values. You can construct a concrete instance of `GetContainerAclReadInput` via:

GetContainerAclReadArgs{...}

type GetContainerAclReadOutput

type GetContainerAclReadOutput struct{ *pulumi.OutputState }

func (GetContainerAclReadOutput) CreatedAt

The date the container ACL was created.

func (GetContainerAclReadOutput) ElementType

func (GetContainerAclReadOutput) ElementType() reflect.Type

func (GetContainerAclReadOutput) ProjectAccess

Whether the container is accessible project wide.

func (GetContainerAclReadOutput) ToGetContainerAclReadOutput

func (o GetContainerAclReadOutput) ToGetContainerAclReadOutput() GetContainerAclReadOutput

func (GetContainerAclReadOutput) ToGetContainerAclReadOutputWithContext

func (o GetContainerAclReadOutput) ToGetContainerAclReadOutputWithContext(ctx context.Context) GetContainerAclReadOutput

func (GetContainerAclReadOutput) UpdatedAt

The date the container ACL was last updated.

func (GetContainerAclReadOutput) Users

The list of user IDs, which are allowed to access the container, when `projectAccess` is set to `false`.

type GetContainerArgs

type GetContainerArgs struct {
	// The Container name.
	Name *string `pulumi:"name"`
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to fetch a container. If omitted, the `region`
	// argument of the provider is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getContainer.

type GetContainerConsumer

type GetContainerConsumer struct {
	// The Container name.
	Name *string `pulumi:"name"`
	// The consumer URL.
	Url *string `pulumi:"url"`
}

type GetContainerConsumerArgs

type GetContainerConsumerArgs struct {
	// The Container name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The consumer URL.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (GetContainerConsumerArgs) ElementType

func (GetContainerConsumerArgs) ElementType() reflect.Type

func (GetContainerConsumerArgs) ToGetContainerConsumerOutput

func (i GetContainerConsumerArgs) ToGetContainerConsumerOutput() GetContainerConsumerOutput

func (GetContainerConsumerArgs) ToGetContainerConsumerOutputWithContext

func (i GetContainerConsumerArgs) ToGetContainerConsumerOutputWithContext(ctx context.Context) GetContainerConsumerOutput

type GetContainerConsumerArray

type GetContainerConsumerArray []GetContainerConsumerInput

func (GetContainerConsumerArray) ElementType

func (GetContainerConsumerArray) ElementType() reflect.Type

func (GetContainerConsumerArray) ToGetContainerConsumerArrayOutput

func (i GetContainerConsumerArray) ToGetContainerConsumerArrayOutput() GetContainerConsumerArrayOutput

func (GetContainerConsumerArray) ToGetContainerConsumerArrayOutputWithContext

func (i GetContainerConsumerArray) ToGetContainerConsumerArrayOutputWithContext(ctx context.Context) GetContainerConsumerArrayOutput

type GetContainerConsumerArrayInput

type GetContainerConsumerArrayInput interface {
	pulumi.Input

	ToGetContainerConsumerArrayOutput() GetContainerConsumerArrayOutput
	ToGetContainerConsumerArrayOutputWithContext(context.Context) GetContainerConsumerArrayOutput
}

GetContainerConsumerArrayInput is an input type that accepts GetContainerConsumerArray and GetContainerConsumerArrayOutput values. You can construct a concrete instance of `GetContainerConsumerArrayInput` via:

GetContainerConsumerArray{ GetContainerConsumerArgs{...} }

type GetContainerConsumerArrayOutput

type GetContainerConsumerArrayOutput struct{ *pulumi.OutputState }

func (GetContainerConsumerArrayOutput) ElementType

func (GetContainerConsumerArrayOutput) Index

func (GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutput

func (o GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutput() GetContainerConsumerArrayOutput

func (GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutputWithContext

func (o GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutputWithContext(ctx context.Context) GetContainerConsumerArrayOutput

type GetContainerConsumerInput

type GetContainerConsumerInput interface {
	pulumi.Input

	ToGetContainerConsumerOutput() GetContainerConsumerOutput
	ToGetContainerConsumerOutputWithContext(context.Context) GetContainerConsumerOutput
}

GetContainerConsumerInput is an input type that accepts GetContainerConsumerArgs and GetContainerConsumerOutput values. You can construct a concrete instance of `GetContainerConsumerInput` via:

GetContainerConsumerArgs{...}

type GetContainerConsumerOutput

type GetContainerConsumerOutput struct{ *pulumi.OutputState }

func (GetContainerConsumerOutput) ElementType

func (GetContainerConsumerOutput) ElementType() reflect.Type

func (GetContainerConsumerOutput) Name

The Container name.

func (GetContainerConsumerOutput) ToGetContainerConsumerOutput

func (o GetContainerConsumerOutput) ToGetContainerConsumerOutput() GetContainerConsumerOutput

func (GetContainerConsumerOutput) ToGetContainerConsumerOutputWithContext

func (o GetContainerConsumerOutput) ToGetContainerConsumerOutputWithContext(ctx context.Context) GetContainerConsumerOutput

func (GetContainerConsumerOutput) Url

The consumer URL.

type GetContainerOutputArgs added in v3.5.0

type GetContainerOutputArgs struct {
	// The Container name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to fetch a container. If omitted, the `region`
	// argument of the provider is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getContainer.

func (GetContainerOutputArgs) ElementType added in v3.5.0

func (GetContainerOutputArgs) ElementType() reflect.Type

type GetContainerResult

type GetContainerResult struct {
	// The list of ACLs assigned to a container. The `read` structure is
	// described below.
	Acls []GetContainerAcl `pulumi:"acls"`
	// The list of the container consumers. The structure is described
	// below.
	Consumers []GetContainerConsumer `pulumi:"consumers"`
	// The container reference / where to find the container.
	ContainerRef string `pulumi:"containerRef"`
	// The date the container ACL was created.
	CreatedAt string `pulumi:"createdAt"`
	// The creator of the container.
	CreatorId string `pulumi:"creatorId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the consumer.
	Name *string `pulumi:"name"`
	// See Argument Reference above.
	Region *string `pulumi:"region"`
	// A set of dictionaries containing references to secrets. The
	// structure is described below.
	SecretRefs []GetContainerSecretRef `pulumi:"secretRefs"`
	// The status of the container.
	Status string `pulumi:"status"`
	// The container type.
	Type string `pulumi:"type"`
	// The date the container ACL was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

A collection of values returned by getContainer.

func GetContainer

func GetContainer(ctx *pulumi.Context, args *GetContainerArgs, opts ...pulumi.InvokeOption) (*GetContainerResult, error)

Use this data source to get the ID of an available Barbican container.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keymanager.GetContainer(ctx, &keymanager.GetContainerArgs{
			Name: pulumi.StringRef("my_container"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetContainerResultOutput added in v3.5.0

type GetContainerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getContainer.

func GetContainerOutput added in v3.5.0

func GetContainerOutput(ctx *pulumi.Context, args GetContainerOutputArgs, opts ...pulumi.InvokeOption) GetContainerResultOutput

func (GetContainerResultOutput) Acls added in v3.5.0

The list of ACLs assigned to a container. The `read` structure is described below.

func (GetContainerResultOutput) Consumers added in v3.5.0

The list of the container consumers. The structure is described below.

func (GetContainerResultOutput) ContainerRef added in v3.5.0

func (o GetContainerResultOutput) ContainerRef() pulumi.StringOutput

The container reference / where to find the container.

func (GetContainerResultOutput) CreatedAt added in v3.5.0

The date the container ACL was created.

func (GetContainerResultOutput) CreatorId added in v3.5.0

The creator of the container.

func (GetContainerResultOutput) ElementType added in v3.5.0

func (GetContainerResultOutput) ElementType() reflect.Type

func (GetContainerResultOutput) Id added in v3.5.0

The provider-assigned unique ID for this managed resource.

func (GetContainerResultOutput) Name added in v3.5.0

The name of the consumer.

func (GetContainerResultOutput) Region added in v3.5.0

See Argument Reference above.

func (GetContainerResultOutput) SecretRefs added in v3.5.0

A set of dictionaries containing references to secrets. The structure is described below.

func (GetContainerResultOutput) Status added in v3.5.0

The status of the container.

func (GetContainerResultOutput) ToGetContainerResultOutput added in v3.5.0

func (o GetContainerResultOutput) ToGetContainerResultOutput() GetContainerResultOutput

func (GetContainerResultOutput) ToGetContainerResultOutputWithContext added in v3.5.0

func (o GetContainerResultOutput) ToGetContainerResultOutputWithContext(ctx context.Context) GetContainerResultOutput

func (GetContainerResultOutput) Type added in v3.5.0

The container type.

func (GetContainerResultOutput) UpdatedAt added in v3.5.0

The date the container ACL was last updated.

type GetContainerSecretRef

type GetContainerSecretRef struct {
	// The Container name.
	Name *string `pulumi:"name"`
	// The secret reference / where to find the secret, URL.
	SecretRef *string `pulumi:"secretRef"`
}

type GetContainerSecretRefArgs

type GetContainerSecretRefArgs struct {
	// The Container name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The secret reference / where to find the secret, URL.
	SecretRef pulumi.StringPtrInput `pulumi:"secretRef"`
}

func (GetContainerSecretRefArgs) ElementType

func (GetContainerSecretRefArgs) ElementType() reflect.Type

func (GetContainerSecretRefArgs) ToGetContainerSecretRefOutput

func (i GetContainerSecretRefArgs) ToGetContainerSecretRefOutput() GetContainerSecretRefOutput

func (GetContainerSecretRefArgs) ToGetContainerSecretRefOutputWithContext

func (i GetContainerSecretRefArgs) ToGetContainerSecretRefOutputWithContext(ctx context.Context) GetContainerSecretRefOutput

type GetContainerSecretRefArray

type GetContainerSecretRefArray []GetContainerSecretRefInput

func (GetContainerSecretRefArray) ElementType

func (GetContainerSecretRefArray) ElementType() reflect.Type

func (GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutput

func (i GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput

func (GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutputWithContext

func (i GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutputWithContext(ctx context.Context) GetContainerSecretRefArrayOutput

type GetContainerSecretRefArrayInput

type GetContainerSecretRefArrayInput interface {
	pulumi.Input

	ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput
	ToGetContainerSecretRefArrayOutputWithContext(context.Context) GetContainerSecretRefArrayOutput
}

GetContainerSecretRefArrayInput is an input type that accepts GetContainerSecretRefArray and GetContainerSecretRefArrayOutput values. You can construct a concrete instance of `GetContainerSecretRefArrayInput` via:

GetContainerSecretRefArray{ GetContainerSecretRefArgs{...} }

type GetContainerSecretRefArrayOutput

type GetContainerSecretRefArrayOutput struct{ *pulumi.OutputState }

func (GetContainerSecretRefArrayOutput) ElementType

func (GetContainerSecretRefArrayOutput) Index

func (GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutput

func (o GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput

func (GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutputWithContext

func (o GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutputWithContext(ctx context.Context) GetContainerSecretRefArrayOutput

type GetContainerSecretRefInput

type GetContainerSecretRefInput interface {
	pulumi.Input

	ToGetContainerSecretRefOutput() GetContainerSecretRefOutput
	ToGetContainerSecretRefOutputWithContext(context.Context) GetContainerSecretRefOutput
}

GetContainerSecretRefInput is an input type that accepts GetContainerSecretRefArgs and GetContainerSecretRefOutput values. You can construct a concrete instance of `GetContainerSecretRefInput` via:

GetContainerSecretRefArgs{...}

type GetContainerSecretRefOutput

type GetContainerSecretRefOutput struct{ *pulumi.OutputState }

func (GetContainerSecretRefOutput) ElementType

func (GetContainerSecretRefOutput) Name

The Container name.

func (GetContainerSecretRefOutput) SecretRef

The secret reference / where to find the secret, URL.

func (GetContainerSecretRefOutput) ToGetContainerSecretRefOutput

func (o GetContainerSecretRefOutput) ToGetContainerSecretRefOutput() GetContainerSecretRefOutput

func (GetContainerSecretRefOutput) ToGetContainerSecretRefOutputWithContext

func (o GetContainerSecretRefOutput) ToGetContainerSecretRefOutputWithContext(ctx context.Context) GetContainerSecretRefOutput

type GetSecretAcl

type GetSecretAcl struct {
	Read GetSecretAclRead `pulumi:"read"`
}

type GetSecretAclArgs

type GetSecretAclArgs struct {
	Read GetSecretAclReadInput `pulumi:"read"`
}

func (GetSecretAclArgs) ElementType

func (GetSecretAclArgs) ElementType() reflect.Type

func (GetSecretAclArgs) ToGetSecretAclOutput

func (i GetSecretAclArgs) ToGetSecretAclOutput() GetSecretAclOutput

func (GetSecretAclArgs) ToGetSecretAclOutputWithContext

func (i GetSecretAclArgs) ToGetSecretAclOutputWithContext(ctx context.Context) GetSecretAclOutput

type GetSecretAclArray

type GetSecretAclArray []GetSecretAclInput

func (GetSecretAclArray) ElementType

func (GetSecretAclArray) ElementType() reflect.Type

func (GetSecretAclArray) ToGetSecretAclArrayOutput

func (i GetSecretAclArray) ToGetSecretAclArrayOutput() GetSecretAclArrayOutput

func (GetSecretAclArray) ToGetSecretAclArrayOutputWithContext

func (i GetSecretAclArray) ToGetSecretAclArrayOutputWithContext(ctx context.Context) GetSecretAclArrayOutput

type GetSecretAclArrayInput

type GetSecretAclArrayInput interface {
	pulumi.Input

	ToGetSecretAclArrayOutput() GetSecretAclArrayOutput
	ToGetSecretAclArrayOutputWithContext(context.Context) GetSecretAclArrayOutput
}

GetSecretAclArrayInput is an input type that accepts GetSecretAclArray and GetSecretAclArrayOutput values. You can construct a concrete instance of `GetSecretAclArrayInput` via:

GetSecretAclArray{ GetSecretAclArgs{...} }

type GetSecretAclArrayOutput

type GetSecretAclArrayOutput struct{ *pulumi.OutputState }

func (GetSecretAclArrayOutput) ElementType

func (GetSecretAclArrayOutput) ElementType() reflect.Type

func (GetSecretAclArrayOutput) Index

func (GetSecretAclArrayOutput) ToGetSecretAclArrayOutput

func (o GetSecretAclArrayOutput) ToGetSecretAclArrayOutput() GetSecretAclArrayOutput

func (GetSecretAclArrayOutput) ToGetSecretAclArrayOutputWithContext

func (o GetSecretAclArrayOutput) ToGetSecretAclArrayOutputWithContext(ctx context.Context) GetSecretAclArrayOutput

type GetSecretAclInput

type GetSecretAclInput interface {
	pulumi.Input

	ToGetSecretAclOutput() GetSecretAclOutput
	ToGetSecretAclOutputWithContext(context.Context) GetSecretAclOutput
}

GetSecretAclInput is an input type that accepts GetSecretAclArgs and GetSecretAclOutput values. You can construct a concrete instance of `GetSecretAclInput` via:

GetSecretAclArgs{...}

type GetSecretAclOutput

type GetSecretAclOutput struct{ *pulumi.OutputState }

func (GetSecretAclOutput) ElementType

func (GetSecretAclOutput) ElementType() reflect.Type

func (GetSecretAclOutput) Read

func (GetSecretAclOutput) ToGetSecretAclOutput

func (o GetSecretAclOutput) ToGetSecretAclOutput() GetSecretAclOutput

func (GetSecretAclOutput) ToGetSecretAclOutputWithContext

func (o GetSecretAclOutput) ToGetSecretAclOutputWithContext(ctx context.Context) GetSecretAclOutput

type GetSecretAclRead

type GetSecretAclRead struct {
	// The date the secret ACL was created.
	CreatedAt string `pulumi:"createdAt"`
	// Whether the secret is accessible project wide.
	ProjectAccess *bool `pulumi:"projectAccess"`
	// The date the secret ACL was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the secret, when
	// `projectAccess` is set to `false`.
	Users []string `pulumi:"users"`
}

type GetSecretAclReadArgs

type GetSecretAclReadArgs struct {
	// The date the secret ACL was created.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Whether the secret is accessible project wide.
	ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"`
	// The date the secret ACL was last updated.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the secret, when
	// `projectAccess` is set to `false`.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (GetSecretAclReadArgs) ElementType

func (GetSecretAclReadArgs) ElementType() reflect.Type

func (GetSecretAclReadArgs) ToGetSecretAclReadOutput

func (i GetSecretAclReadArgs) ToGetSecretAclReadOutput() GetSecretAclReadOutput

func (GetSecretAclReadArgs) ToGetSecretAclReadOutputWithContext

func (i GetSecretAclReadArgs) ToGetSecretAclReadOutputWithContext(ctx context.Context) GetSecretAclReadOutput

type GetSecretAclReadInput

type GetSecretAclReadInput interface {
	pulumi.Input

	ToGetSecretAclReadOutput() GetSecretAclReadOutput
	ToGetSecretAclReadOutputWithContext(context.Context) GetSecretAclReadOutput
}

GetSecretAclReadInput is an input type that accepts GetSecretAclReadArgs and GetSecretAclReadOutput values. You can construct a concrete instance of `GetSecretAclReadInput` via:

GetSecretAclReadArgs{...}

type GetSecretAclReadOutput

type GetSecretAclReadOutput struct{ *pulumi.OutputState }

func (GetSecretAclReadOutput) CreatedAt

The date the secret ACL was created.

func (GetSecretAclReadOutput) ElementType

func (GetSecretAclReadOutput) ElementType() reflect.Type

func (GetSecretAclReadOutput) ProjectAccess

func (o GetSecretAclReadOutput) ProjectAccess() pulumi.BoolPtrOutput

Whether the secret is accessible project wide.

func (GetSecretAclReadOutput) ToGetSecretAclReadOutput

func (o GetSecretAclReadOutput) ToGetSecretAclReadOutput() GetSecretAclReadOutput

func (GetSecretAclReadOutput) ToGetSecretAclReadOutputWithContext

func (o GetSecretAclReadOutput) ToGetSecretAclReadOutputWithContext(ctx context.Context) GetSecretAclReadOutput

func (GetSecretAclReadOutput) UpdatedAt

The date the secret ACL was last updated.

func (GetSecretAclReadOutput) Users

The list of user IDs, which are allowed to access the secret, when `projectAccess` is set to `false`.

type GetSecretArgs

type GetSecretArgs struct {
	// Select the Secret with an ACL that contains the user.
	// Project scope is ignored. Defaults to `false`.
	AclOnly *bool `pulumi:"aclOnly"`
	// The Secret algorithm.
	Algorithm *string `pulumi:"algorithm"`
	// The Secret bit length.
	BitLength *int `pulumi:"bitLength"`
	// Date filter to select the Secret with
	// created matching the specified criteria. See Date Filters below for more
	// detail.
	CreatedAtFilter *string `pulumi:"createdAtFilter"`
	// Date filter to select the Secret with
	// expiration matching the specified criteria. See Date Filters below for more
	// detail.
	ExpirationFilter *string `pulumi:"expirationFilter"`
	// The Secret mode.
	Mode *string `pulumi:"mode"`
	// The Secret name.
	Name *string `pulumi:"name"`
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to fetch a secret. If omitted, the `region`
	// argument of the provider is used.
	Region *string `pulumi:"region"`
	// The Secret type. For more information see
	// [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
	SecretType *string `pulumi:"secretType"`
	// Date filter to select the Secret with
	// updated matching the specified criteria. See Date Filters below for more
	// detail.
	UpdatedAtFilter *string `pulumi:"updatedAtFilter"`
}

A collection of arguments for invoking getSecret.

type GetSecretOutputArgs added in v3.5.0

type GetSecretOutputArgs struct {
	// Select the Secret with an ACL that contains the user.
	// Project scope is ignored. Defaults to `false`.
	AclOnly pulumi.BoolPtrInput `pulumi:"aclOnly"`
	// The Secret algorithm.
	Algorithm pulumi.StringPtrInput `pulumi:"algorithm"`
	// The Secret bit length.
	BitLength pulumi.IntPtrInput `pulumi:"bitLength"`
	// Date filter to select the Secret with
	// created matching the specified criteria. See Date Filters below for more
	// detail.
	CreatedAtFilter pulumi.StringPtrInput `pulumi:"createdAtFilter"`
	// Date filter to select the Secret with
	// expiration matching the specified criteria. See Date Filters below for more
	// detail.
	ExpirationFilter pulumi.StringPtrInput `pulumi:"expirationFilter"`
	// The Secret mode.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// The Secret name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to fetch a secret. If omitted, the `region`
	// argument of the provider is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The Secret type. For more information see
	// [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
	SecretType pulumi.StringPtrInput `pulumi:"secretType"`
	// Date filter to select the Secret with
	// updated matching the specified criteria. See Date Filters below for more
	// detail.
	UpdatedAtFilter pulumi.StringPtrInput `pulumi:"updatedAtFilter"`
}

A collection of arguments for invoking getSecret.

func (GetSecretOutputArgs) ElementType added in v3.5.0

func (GetSecretOutputArgs) ElementType() reflect.Type

type GetSecretResult

type GetSecretResult struct {
	// See Argument Reference above.
	AclOnly *bool `pulumi:"aclOnly"`
	// The list of ACLs assigned to a secret. The `read` structure is described below.
	Acls []GetSecretAcl `pulumi:"acls"`
	// See Argument Reference above.
	Algorithm *string `pulumi:"algorithm"`
	// See Argument Reference above.
	BitLength *int `pulumi:"bitLength"`
	// The map of the content types, assigned on the secret.
	ContentTypes map[string]interface{} `pulumi:"contentTypes"`
	// The date the secret ACL was created.
	CreatedAt string `pulumi:"createdAt"`
	// See Argument Reference above.
	CreatedAtFilter *string `pulumi:"createdAtFilter"`
	// The creator of the secret.
	CreatorId string `pulumi:"creatorId"`
	// The date the secret will expire.
	Expiration string `pulumi:"expiration"`
	// See Argument Reference above.
	ExpirationFilter *string `pulumi:"expirationFilter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The map of metadata, assigned on the secret, which has been
	// explicitly and implicitly added.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// See Argument Reference above.
	Mode *string `pulumi:"mode"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// The secret payload.
	Payload string `pulumi:"payload"`
	// The Secret encoding.
	PayloadContentEncoding string `pulumi:"payloadContentEncoding"`
	// The Secret content type.
	PayloadContentType string `pulumi:"payloadContentType"`
	// See Argument Reference above.
	Region *string `pulumi:"region"`
	// The secret reference / where to find the secret.
	SecretRef string `pulumi:"secretRef"`
	// See Argument Reference above.
	SecretType *string `pulumi:"secretType"`
	// The status of the secret.
	Status string `pulumi:"status"`
	// The date the secret ACL was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
	// See Argument Reference above.
	UpdatedAtFilter *string `pulumi:"updatedAtFilter"`
}

A collection of values returned by getSecret.

func GetSecret

func GetSecret(ctx *pulumi.Context, args *GetSecretArgs, opts ...pulumi.InvokeOption) (*GetSecretResult, error)

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keymanager.GetSecret(ctx, &keymanager.GetSecretArgs{
			Mode:       pulumi.StringRef("cbc"),
			SecretType: pulumi.StringRef("passphrase"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Date Filters

The values for the `expirationFilter`, `createdAtFilter`, and `updatedAtFilter` parameters are comma-separated lists of time stamps in RFC3339 format. The time stamps can be prefixed with any of these comparison operators: *gt:* (greater-than), *gte:* (greater-than-or-equal), *lt:* (less-than), *lte:* (less-than-or-equal).

For example, to get a passphrase a Secret with CBC moda, that will expire in January of 2020:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keymanager.GetSecret(ctx, &keymanager.GetSecretArgs{
			ExpirationFilter: pulumi.StringRef("gt:2020-01-01T00:00:00Z"),
			Mode:             pulumi.StringRef("cbc"),
			SecretType:       pulumi.StringRef("passphrase"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetSecretResultOutput added in v3.5.0

type GetSecretResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecret.

func GetSecretOutput added in v3.5.0

func GetSecretOutput(ctx *pulumi.Context, args GetSecretOutputArgs, opts ...pulumi.InvokeOption) GetSecretResultOutput

func (GetSecretResultOutput) AclOnly added in v3.5.0

See Argument Reference above.

func (GetSecretResultOutput) Acls added in v3.5.0

The list of ACLs assigned to a secret. The `read` structure is described below.

func (GetSecretResultOutput) Algorithm added in v3.5.0

See Argument Reference above.

func (GetSecretResultOutput) BitLength added in v3.5.0

See Argument Reference above.

func (GetSecretResultOutput) ContentTypes added in v3.5.0

func (o GetSecretResultOutput) ContentTypes() pulumi.MapOutput

The map of the content types, assigned on the secret.

func (GetSecretResultOutput) CreatedAt added in v3.5.0

The date the secret ACL was created.

func (GetSecretResultOutput) CreatedAtFilter added in v3.5.0

func (o GetSecretResultOutput) CreatedAtFilter() pulumi.StringPtrOutput

See Argument Reference above.

func (GetSecretResultOutput) CreatorId added in v3.5.0

The creator of the secret.

func (GetSecretResultOutput) ElementType added in v3.5.0

func (GetSecretResultOutput) ElementType() reflect.Type

func (GetSecretResultOutput) Expiration added in v3.5.0

func (o GetSecretResultOutput) Expiration() pulumi.StringOutput

The date the secret will expire.

func (GetSecretResultOutput) ExpirationFilter added in v3.5.0

func (o GetSecretResultOutput) ExpirationFilter() pulumi.StringPtrOutput

See Argument Reference above.

func (GetSecretResultOutput) Id added in v3.5.0

The provider-assigned unique ID for this managed resource.

func (GetSecretResultOutput) Metadata added in v3.5.0

func (o GetSecretResultOutput) Metadata() pulumi.MapOutput

The map of metadata, assigned on the secret, which has been explicitly and implicitly added.

func (GetSecretResultOutput) Mode added in v3.5.0

See Argument Reference above.

func (GetSecretResultOutput) Name added in v3.5.0

See Argument Reference above.

func (GetSecretResultOutput) Payload added in v3.5.0

The secret payload.

func (GetSecretResultOutput) PayloadContentEncoding added in v3.5.0

func (o GetSecretResultOutput) PayloadContentEncoding() pulumi.StringOutput

The Secret encoding.

func (GetSecretResultOutput) PayloadContentType added in v3.5.0

func (o GetSecretResultOutput) PayloadContentType() pulumi.StringOutput

The Secret content type.

func (GetSecretResultOutput) Region added in v3.5.0

See Argument Reference above.

func (GetSecretResultOutput) SecretRef added in v3.5.0

The secret reference / where to find the secret.

func (GetSecretResultOutput) SecretType added in v3.5.0

See Argument Reference above.

func (GetSecretResultOutput) Status added in v3.5.0

The status of the secret.

func (GetSecretResultOutput) ToGetSecretResultOutput added in v3.5.0

func (o GetSecretResultOutput) ToGetSecretResultOutput() GetSecretResultOutput

func (GetSecretResultOutput) ToGetSecretResultOutputWithContext added in v3.5.0

func (o GetSecretResultOutput) ToGetSecretResultOutputWithContext(ctx context.Context) GetSecretResultOutput

func (GetSecretResultOutput) UpdatedAt added in v3.5.0

The date the secret ACL was last updated.

func (GetSecretResultOutput) UpdatedAtFilter added in v3.5.0

func (o GetSecretResultOutput) UpdatedAtFilter() pulumi.StringPtrOutput

See Argument Reference above.

type OrderV1

type OrderV1 struct {
	pulumi.CustomResourceState

	// The container reference / where to find the container.
	ContainerRef pulumi.StringOutput `pulumi:"containerRef"`
	// The date the order was created.
	Created pulumi.StringOutput `pulumi:"created"`
	// The creator of the order.
	CreatorId pulumi.StringOutput `pulumi:"creatorId"`
	// Dictionary containing the order metadata used to generate the order. The structure is described below.
	Meta OrderV1MetaOutput `pulumi:"meta"`
	// The order reference / where to find the order.
	OrderRef pulumi.StringOutput `pulumi:"orderRef"`
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a order. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 order.
	Region pulumi.StringOutput `pulumi:"region"`
	// The secret reference / where to find the secret.
	SecretRef pulumi.StringOutput `pulumi:"secretRef"`
	// The status of the order.
	Status pulumi.StringOutput `pulumi:"status"`
	// The sub status of the order.
	SubStatus pulumi.StringOutput `pulumi:"subStatus"`
	// The sub status message of the order.
	SubStatusMessage pulumi.StringOutput `pulumi:"subStatusMessage"`
	// The type of key to be generated. Must be one of `asymmetric`, `key`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The date the order was last updated.
	Updated pulumi.StringOutput `pulumi:"updated"`
}

Manages a V1 Barbican order resource within OpenStack.

## Example Usage

### Symmetric key order

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keymanager.NewOrderV1(ctx, "order1", &keymanager.OrderV1Args{
			Meta: &keymanager.OrderV1MetaArgs{
				Algorithm: pulumi.String("aes"),
				BitLength: pulumi.Int(256),
				Mode:      pulumi.String("cbc"),
				Name:      pulumi.String("mysecret"),
			},
			Type: pulumi.String("key"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Asymmetric key pair order

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keymanager.NewOrderV1(ctx, "order1", &keymanager.OrderV1Args{
			Meta: &keymanager.OrderV1MetaArgs{
				Algorithm: pulumi.String("rsa"),
				BitLength: pulumi.Int(4096),
				Name:      pulumi.String("mysecret"),
			},
			Type: pulumi.String("asymmetric"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Orders can be imported using the order id (the last part of the order reference), e.g.:

```sh $ pulumi import openstack:keymanager/orderV1:OrderV1 order_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953 ```

func GetOrderV1

func GetOrderV1(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrderV1State, opts ...pulumi.ResourceOption) (*OrderV1, error)

GetOrderV1 gets an existing OrderV1 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 NewOrderV1

func NewOrderV1(ctx *pulumi.Context,
	name string, args *OrderV1Args, opts ...pulumi.ResourceOption) (*OrderV1, error)

NewOrderV1 registers a new resource with the given unique name, arguments, and options.

func (*OrderV1) ElementType

func (*OrderV1) ElementType() reflect.Type

func (*OrderV1) ToOrderV1Output

func (i *OrderV1) ToOrderV1Output() OrderV1Output

func (*OrderV1) ToOrderV1OutputWithContext

func (i *OrderV1) ToOrderV1OutputWithContext(ctx context.Context) OrderV1Output

type OrderV1Args

type OrderV1Args struct {
	// Dictionary containing the order metadata used to generate the order. The structure is described below.
	Meta OrderV1MetaInput
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a order. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 order.
	Region pulumi.StringPtrInput
	// The type of key to be generated. Must be one of `asymmetric`, `key`.
	Type pulumi.StringInput
}

The set of arguments for constructing a OrderV1 resource.

func (OrderV1Args) ElementType

func (OrderV1Args) ElementType() reflect.Type

type OrderV1Array

type OrderV1Array []OrderV1Input

func (OrderV1Array) ElementType

func (OrderV1Array) ElementType() reflect.Type

func (OrderV1Array) ToOrderV1ArrayOutput

func (i OrderV1Array) ToOrderV1ArrayOutput() OrderV1ArrayOutput

func (OrderV1Array) ToOrderV1ArrayOutputWithContext

func (i OrderV1Array) ToOrderV1ArrayOutputWithContext(ctx context.Context) OrderV1ArrayOutput

type OrderV1ArrayInput

type OrderV1ArrayInput interface {
	pulumi.Input

	ToOrderV1ArrayOutput() OrderV1ArrayOutput
	ToOrderV1ArrayOutputWithContext(context.Context) OrderV1ArrayOutput
}

OrderV1ArrayInput is an input type that accepts OrderV1Array and OrderV1ArrayOutput values. You can construct a concrete instance of `OrderV1ArrayInput` via:

OrderV1Array{ OrderV1Args{...} }

type OrderV1ArrayOutput

type OrderV1ArrayOutput struct{ *pulumi.OutputState }

func (OrderV1ArrayOutput) ElementType

func (OrderV1ArrayOutput) ElementType() reflect.Type

func (OrderV1ArrayOutput) Index

func (OrderV1ArrayOutput) ToOrderV1ArrayOutput

func (o OrderV1ArrayOutput) ToOrderV1ArrayOutput() OrderV1ArrayOutput

func (OrderV1ArrayOutput) ToOrderV1ArrayOutputWithContext

func (o OrderV1ArrayOutput) ToOrderV1ArrayOutputWithContext(ctx context.Context) OrderV1ArrayOutput

type OrderV1Input

type OrderV1Input interface {
	pulumi.Input

	ToOrderV1Output() OrderV1Output
	ToOrderV1OutputWithContext(ctx context.Context) OrderV1Output
}

type OrderV1Map

type OrderV1Map map[string]OrderV1Input

func (OrderV1Map) ElementType

func (OrderV1Map) ElementType() reflect.Type

func (OrderV1Map) ToOrderV1MapOutput

func (i OrderV1Map) ToOrderV1MapOutput() OrderV1MapOutput

func (OrderV1Map) ToOrderV1MapOutputWithContext

func (i OrderV1Map) ToOrderV1MapOutputWithContext(ctx context.Context) OrderV1MapOutput

type OrderV1MapInput

type OrderV1MapInput interface {
	pulumi.Input

	ToOrderV1MapOutput() OrderV1MapOutput
	ToOrderV1MapOutputWithContext(context.Context) OrderV1MapOutput
}

OrderV1MapInput is an input type that accepts OrderV1Map and OrderV1MapOutput values. You can construct a concrete instance of `OrderV1MapInput` via:

OrderV1Map{ "key": OrderV1Args{...} }

type OrderV1MapOutput

type OrderV1MapOutput struct{ *pulumi.OutputState }

func (OrderV1MapOutput) ElementType

func (OrderV1MapOutput) ElementType() reflect.Type

func (OrderV1MapOutput) MapIndex

func (OrderV1MapOutput) ToOrderV1MapOutput

func (o OrderV1MapOutput) ToOrderV1MapOutput() OrderV1MapOutput

func (OrderV1MapOutput) ToOrderV1MapOutputWithContext

func (o OrderV1MapOutput) ToOrderV1MapOutputWithContext(ctx context.Context) OrderV1MapOutput

type OrderV1Meta

type OrderV1Meta struct {
	// Algorithm to use for key generation.
	Algorithm string `pulumi:"algorithm"`
	// Bit lenght of key to be generated.
	BitLength int `pulumi:"bitLength"`
	// This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.
	Expiration *string `pulumi:"expiration"`
	// The mode to use for key generation.
	Mode *string `pulumi:"mode"`
	// The name of the secret set by the user.
	Name *string `pulumi:"name"`
	// The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
	PayloadContentType *string `pulumi:"payloadContentType"`
}

type OrderV1MetaArgs

type OrderV1MetaArgs struct {
	// Algorithm to use for key generation.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// Bit lenght of key to be generated.
	BitLength pulumi.IntInput `pulumi:"bitLength"`
	// This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.
	Expiration pulumi.StringPtrInput `pulumi:"expiration"`
	// The mode to use for key generation.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// The name of the secret set by the user.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
	PayloadContentType pulumi.StringPtrInput `pulumi:"payloadContentType"`
}

func (OrderV1MetaArgs) ElementType

func (OrderV1MetaArgs) ElementType() reflect.Type

func (OrderV1MetaArgs) ToOrderV1MetaOutput

func (i OrderV1MetaArgs) ToOrderV1MetaOutput() OrderV1MetaOutput

func (OrderV1MetaArgs) ToOrderV1MetaOutputWithContext

func (i OrderV1MetaArgs) ToOrderV1MetaOutputWithContext(ctx context.Context) OrderV1MetaOutput

func (OrderV1MetaArgs) ToOrderV1MetaPtrOutput

func (i OrderV1MetaArgs) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput

func (OrderV1MetaArgs) ToOrderV1MetaPtrOutputWithContext

func (i OrderV1MetaArgs) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput

type OrderV1MetaInput

type OrderV1MetaInput interface {
	pulumi.Input

	ToOrderV1MetaOutput() OrderV1MetaOutput
	ToOrderV1MetaOutputWithContext(context.Context) OrderV1MetaOutput
}

OrderV1MetaInput is an input type that accepts OrderV1MetaArgs and OrderV1MetaOutput values. You can construct a concrete instance of `OrderV1MetaInput` via:

OrderV1MetaArgs{...}

type OrderV1MetaOutput

type OrderV1MetaOutput struct{ *pulumi.OutputState }

func (OrderV1MetaOutput) Algorithm

func (o OrderV1MetaOutput) Algorithm() pulumi.StringOutput

Algorithm to use for key generation.

func (OrderV1MetaOutput) BitLength

func (o OrderV1MetaOutput) BitLength() pulumi.IntOutput

Bit lenght of key to be generated.

func (OrderV1MetaOutput) ElementType

func (OrderV1MetaOutput) ElementType() reflect.Type

func (OrderV1MetaOutput) Expiration

func (o OrderV1MetaOutput) Expiration() pulumi.StringPtrOutput

This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.

func (OrderV1MetaOutput) Mode

The mode to use for key generation.

func (OrderV1MetaOutput) Name

The name of the secret set by the user.

func (OrderV1MetaOutput) PayloadContentType

func (o OrderV1MetaOutput) PayloadContentType() pulumi.StringPtrOutput

The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.

func (OrderV1MetaOutput) ToOrderV1MetaOutput

func (o OrderV1MetaOutput) ToOrderV1MetaOutput() OrderV1MetaOutput

func (OrderV1MetaOutput) ToOrderV1MetaOutputWithContext

func (o OrderV1MetaOutput) ToOrderV1MetaOutputWithContext(ctx context.Context) OrderV1MetaOutput

func (OrderV1MetaOutput) ToOrderV1MetaPtrOutput

func (o OrderV1MetaOutput) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput

func (OrderV1MetaOutput) ToOrderV1MetaPtrOutputWithContext

func (o OrderV1MetaOutput) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput

type OrderV1MetaPtrInput

type OrderV1MetaPtrInput interface {
	pulumi.Input

	ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput
	ToOrderV1MetaPtrOutputWithContext(context.Context) OrderV1MetaPtrOutput
}

OrderV1MetaPtrInput is an input type that accepts OrderV1MetaArgs, OrderV1MetaPtr and OrderV1MetaPtrOutput values. You can construct a concrete instance of `OrderV1MetaPtrInput` via:

        OrderV1MetaArgs{...}

or:

        nil

func OrderV1MetaPtr

func OrderV1MetaPtr(v *OrderV1MetaArgs) OrderV1MetaPtrInput

type OrderV1MetaPtrOutput

type OrderV1MetaPtrOutput struct{ *pulumi.OutputState }

func (OrderV1MetaPtrOutput) Algorithm

Algorithm to use for key generation.

func (OrderV1MetaPtrOutput) BitLength

Bit lenght of key to be generated.

func (OrderV1MetaPtrOutput) Elem

func (OrderV1MetaPtrOutput) ElementType

func (OrderV1MetaPtrOutput) ElementType() reflect.Type

func (OrderV1MetaPtrOutput) Expiration

This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.

func (OrderV1MetaPtrOutput) Mode

The mode to use for key generation.

func (OrderV1MetaPtrOutput) Name

The name of the secret set by the user.

func (OrderV1MetaPtrOutput) PayloadContentType

func (o OrderV1MetaPtrOutput) PayloadContentType() pulumi.StringPtrOutput

The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.

func (OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutput

func (o OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput

func (OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutputWithContext

func (o OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput

type OrderV1Output

type OrderV1Output struct{ *pulumi.OutputState }

func (OrderV1Output) ContainerRef added in v3.9.0

func (o OrderV1Output) ContainerRef() pulumi.StringOutput

The container reference / where to find the container.

func (OrderV1Output) Created added in v3.9.0

func (o OrderV1Output) Created() pulumi.StringOutput

The date the order was created.

func (OrderV1Output) CreatorId added in v3.9.0

func (o OrderV1Output) CreatorId() pulumi.StringOutput

The creator of the order.

func (OrderV1Output) ElementType

func (OrderV1Output) ElementType() reflect.Type

func (OrderV1Output) Meta added in v3.9.0

Dictionary containing the order metadata used to generate the order. The structure is described below.

func (OrderV1Output) OrderRef added in v3.9.0

func (o OrderV1Output) OrderRef() pulumi.StringOutput

The order reference / where to find the order.

func (OrderV1Output) Region added in v3.9.0

func (o OrderV1Output) Region() pulumi.StringOutput

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 order.

func (OrderV1Output) SecretRef added in v3.9.0

func (o OrderV1Output) SecretRef() pulumi.StringOutput

The secret reference / where to find the secret.

func (OrderV1Output) Status added in v3.9.0

func (o OrderV1Output) Status() pulumi.StringOutput

The status of the order.

func (OrderV1Output) SubStatus added in v3.9.0

func (o OrderV1Output) SubStatus() pulumi.StringOutput

The sub status of the order.

func (OrderV1Output) SubStatusMessage added in v3.9.0

func (o OrderV1Output) SubStatusMessage() pulumi.StringOutput

The sub status message of the order.

func (OrderV1Output) ToOrderV1Output

func (o OrderV1Output) ToOrderV1Output() OrderV1Output

func (OrderV1Output) ToOrderV1OutputWithContext

func (o OrderV1Output) ToOrderV1OutputWithContext(ctx context.Context) OrderV1Output

func (OrderV1Output) Type added in v3.9.0

The type of key to be generated. Must be one of `asymmetric`, `key`.

func (OrderV1Output) Updated added in v3.9.0

func (o OrderV1Output) Updated() pulumi.StringOutput

The date the order was last updated.

type OrderV1State

type OrderV1State struct {
	// The container reference / where to find the container.
	ContainerRef pulumi.StringPtrInput
	// The date the order was created.
	Created pulumi.StringPtrInput
	// The creator of the order.
	CreatorId pulumi.StringPtrInput
	// Dictionary containing the order metadata used to generate the order. The structure is described below.
	Meta OrderV1MetaPtrInput
	// The order reference / where to find the order.
	OrderRef pulumi.StringPtrInput
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a order. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 order.
	Region pulumi.StringPtrInput
	// The secret reference / where to find the secret.
	SecretRef pulumi.StringPtrInput
	// The status of the order.
	Status pulumi.StringPtrInput
	// The sub status of the order.
	SubStatus pulumi.StringPtrInput
	// The sub status message of the order.
	SubStatusMessage pulumi.StringPtrInput
	// The type of key to be generated. Must be one of `asymmetric`, `key`.
	Type pulumi.StringPtrInput
	// The date the order was last updated.
	Updated pulumi.StringPtrInput
}

func (OrderV1State) ElementType

func (OrderV1State) ElementType() reflect.Type

type SecretV1

type SecretV1 struct {
	pulumi.CustomResourceState

	// Allows to control an access to a secret. Currently only the
	// `read` operation is supported. If not specified, the secret is accessible
	// project wide.
	Acl SecretV1AclOutput `pulumi:"acl"`
	// Metadata provided by a user or system for informational purposes.
	Algorithm pulumi.StringOutput `pulumi:"algorithm"`
	// The map of metadata, assigned on the secret, which has been
	// explicitly and implicitly added.
	AllMetadata pulumi.MapOutput `pulumi:"allMetadata"`
	// Metadata provided by a user or system for informational purposes.
	BitLength pulumi.IntOutput `pulumi:"bitLength"`
	// The map of the content types, assigned on the secret.
	ContentTypes pulumi.MapOutput `pulumi:"contentTypes"`
	// The date the secret ACL was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The creator of the secret.
	CreatorId pulumi.StringOutput `pulumi:"creatorId"`
	// The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret.
	Expiration pulumi.StringPtrOutput `pulumi:"expiration"`
	// Additional Metadata for the secret.
	Metadata pulumi.MapOutput `pulumi:"metadata"`
	// Metadata provided by a user or system for informational purposes.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Human-readable name for the Secret. Does not have
	// to be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included.
	Payload pulumi.StringPtrOutput `pulumi:"payload"`
	// (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`.
	PayloadContentEncoding pulumi.StringPtrOutput `pulumi:"payloadContentEncoding"`
	// (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
	PayloadContentType pulumi.StringPtrOutput `pulumi:"payloadContentType"`
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a secret. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 secret.
	Region pulumi.StringOutput `pulumi:"region"`
	// The secret reference / where to find the secret.
	SecretRef pulumi.StringOutput `pulumi:"secretRef"`
	// Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
	SecretType pulumi.StringOutput `pulumi:"secretType"`
	// The status of the secret.
	Status pulumi.StringOutput `pulumi:"status"`
	// The date the secret ACL was last updated.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

## Example Usage

### Simple secret

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := keymanager.NewSecretV1(ctx, "secret1", &keymanager.SecretV1Args{
			Algorithm: pulumi.String("aes"),
			BitLength: pulumi.Int(256),
			Metadata: pulumi.Map{
				"key": pulumi.Any("foo"),
			},
			Mode:               pulumi.String("cbc"),
			Payload:            pulumi.String("foobar"),
			PayloadContentType: pulumi.String("text/plain"),
			SecretType:         pulumi.String("passphrase"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Secret with the ACL

> **Note** Only read ACLs are supported

<!--Start PulumiCodeChooser --> ```go package main

import (

"os"

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager"
"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 := keymanager.NewSecretV1(ctx, "secret1", &keymanager.SecretV1Args{
			Payload:            readFileOrPanic("certificate.pem"),
			SecretType:         pulumi.String("certificate"),
			PayloadContentType: pulumi.String("text/plain"),
			Acl: &keymanager.SecretV1AclArgs{
				Read: &keymanager.SecretV1AclReadArgs{
					ProjectAccess: pulumi.Bool(false),
					Users: pulumi.StringArray{
						pulumi.String("userid1"),
						pulumi.String("userid2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Secrets can be imported using the secret id (the last part of the secret reference), e.g.:

```sh $ pulumi import openstack:keymanager/secretV1:SecretV1 secret_1 8a7a79c2-cf17-4e65-b2ae-ddc8bfcf6c74 ```

func GetSecretV1

func GetSecretV1(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretV1State, opts ...pulumi.ResourceOption) (*SecretV1, error)

GetSecretV1 gets an existing SecretV1 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 NewSecretV1

func NewSecretV1(ctx *pulumi.Context,
	name string, args *SecretV1Args, opts ...pulumi.ResourceOption) (*SecretV1, error)

NewSecretV1 registers a new resource with the given unique name, arguments, and options.

func (*SecretV1) ElementType

func (*SecretV1) ElementType() reflect.Type

func (*SecretV1) ToSecretV1Output

func (i *SecretV1) ToSecretV1Output() SecretV1Output

func (*SecretV1) ToSecretV1OutputWithContext

func (i *SecretV1) ToSecretV1OutputWithContext(ctx context.Context) SecretV1Output

type SecretV1Acl

type SecretV1Acl struct {
	Read *SecretV1AclRead `pulumi:"read"`
}

type SecretV1AclArgs

type SecretV1AclArgs struct {
	Read SecretV1AclReadPtrInput `pulumi:"read"`
}

func (SecretV1AclArgs) ElementType

func (SecretV1AclArgs) ElementType() reflect.Type

func (SecretV1AclArgs) ToSecretV1AclOutput

func (i SecretV1AclArgs) ToSecretV1AclOutput() SecretV1AclOutput

func (SecretV1AclArgs) ToSecretV1AclOutputWithContext

func (i SecretV1AclArgs) ToSecretV1AclOutputWithContext(ctx context.Context) SecretV1AclOutput

func (SecretV1AclArgs) ToSecretV1AclPtrOutput

func (i SecretV1AclArgs) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput

func (SecretV1AclArgs) ToSecretV1AclPtrOutputWithContext

func (i SecretV1AclArgs) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput

type SecretV1AclInput

type SecretV1AclInput interface {
	pulumi.Input

	ToSecretV1AclOutput() SecretV1AclOutput
	ToSecretV1AclOutputWithContext(context.Context) SecretV1AclOutput
}

SecretV1AclInput is an input type that accepts SecretV1AclArgs and SecretV1AclOutput values. You can construct a concrete instance of `SecretV1AclInput` via:

SecretV1AclArgs{...}

type SecretV1AclOutput

type SecretV1AclOutput struct{ *pulumi.OutputState }

func (SecretV1AclOutput) ElementType

func (SecretV1AclOutput) ElementType() reflect.Type

func (SecretV1AclOutput) Read

func (SecretV1AclOutput) ToSecretV1AclOutput

func (o SecretV1AclOutput) ToSecretV1AclOutput() SecretV1AclOutput

func (SecretV1AclOutput) ToSecretV1AclOutputWithContext

func (o SecretV1AclOutput) ToSecretV1AclOutputWithContext(ctx context.Context) SecretV1AclOutput

func (SecretV1AclOutput) ToSecretV1AclPtrOutput

func (o SecretV1AclOutput) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput

func (SecretV1AclOutput) ToSecretV1AclPtrOutputWithContext

func (o SecretV1AclOutput) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput

type SecretV1AclPtrInput

type SecretV1AclPtrInput interface {
	pulumi.Input

	ToSecretV1AclPtrOutput() SecretV1AclPtrOutput
	ToSecretV1AclPtrOutputWithContext(context.Context) SecretV1AclPtrOutput
}

SecretV1AclPtrInput is an input type that accepts SecretV1AclArgs, SecretV1AclPtr and SecretV1AclPtrOutput values. You can construct a concrete instance of `SecretV1AclPtrInput` via:

        SecretV1AclArgs{...}

or:

        nil

func SecretV1AclPtr

func SecretV1AclPtr(v *SecretV1AclArgs) SecretV1AclPtrInput

type SecretV1AclPtrOutput

type SecretV1AclPtrOutput struct{ *pulumi.OutputState }

func (SecretV1AclPtrOutput) Elem

func (SecretV1AclPtrOutput) ElementType

func (SecretV1AclPtrOutput) ElementType() reflect.Type

func (SecretV1AclPtrOutput) Read

func (SecretV1AclPtrOutput) ToSecretV1AclPtrOutput

func (o SecretV1AclPtrOutput) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput

func (SecretV1AclPtrOutput) ToSecretV1AclPtrOutputWithContext

func (o SecretV1AclPtrOutput) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput

type SecretV1AclRead

type SecretV1AclRead struct {
	// The date the secret ACL was created.
	CreatedAt *string `pulumi:"createdAt"`
	// Whether the secret is accessible project wide.
	// Defaults to `true`.
	ProjectAccess *bool `pulumi:"projectAccess"`
	// The date the secret ACL was last updated.
	UpdatedAt *string `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the
	// secret, when `projectAccess` is set to `false`.
	Users []string `pulumi:"users"`
}

type SecretV1AclReadArgs

type SecretV1AclReadArgs struct {
	// The date the secret ACL was created.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// Whether the secret is accessible project wide.
	// Defaults to `true`.
	ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"`
	// The date the secret ACL was last updated.
	UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"`
	// The list of user IDs, which are allowed to access the
	// secret, when `projectAccess` is set to `false`.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (SecretV1AclReadArgs) ElementType

func (SecretV1AclReadArgs) ElementType() reflect.Type

func (SecretV1AclReadArgs) ToSecretV1AclReadOutput

func (i SecretV1AclReadArgs) ToSecretV1AclReadOutput() SecretV1AclReadOutput

func (SecretV1AclReadArgs) ToSecretV1AclReadOutputWithContext

func (i SecretV1AclReadArgs) ToSecretV1AclReadOutputWithContext(ctx context.Context) SecretV1AclReadOutput

func (SecretV1AclReadArgs) ToSecretV1AclReadPtrOutput

func (i SecretV1AclReadArgs) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput

func (SecretV1AclReadArgs) ToSecretV1AclReadPtrOutputWithContext

func (i SecretV1AclReadArgs) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput

type SecretV1AclReadInput

type SecretV1AclReadInput interface {
	pulumi.Input

	ToSecretV1AclReadOutput() SecretV1AclReadOutput
	ToSecretV1AclReadOutputWithContext(context.Context) SecretV1AclReadOutput
}

SecretV1AclReadInput is an input type that accepts SecretV1AclReadArgs and SecretV1AclReadOutput values. You can construct a concrete instance of `SecretV1AclReadInput` via:

SecretV1AclReadArgs{...}

type SecretV1AclReadOutput

type SecretV1AclReadOutput struct{ *pulumi.OutputState }

func (SecretV1AclReadOutput) CreatedAt

The date the secret ACL was created.

func (SecretV1AclReadOutput) ElementType

func (SecretV1AclReadOutput) ElementType() reflect.Type

func (SecretV1AclReadOutput) ProjectAccess

func (o SecretV1AclReadOutput) ProjectAccess() pulumi.BoolPtrOutput

Whether the secret is accessible project wide. Defaults to `true`.

func (SecretV1AclReadOutput) ToSecretV1AclReadOutput

func (o SecretV1AclReadOutput) ToSecretV1AclReadOutput() SecretV1AclReadOutput

func (SecretV1AclReadOutput) ToSecretV1AclReadOutputWithContext

func (o SecretV1AclReadOutput) ToSecretV1AclReadOutputWithContext(ctx context.Context) SecretV1AclReadOutput

func (SecretV1AclReadOutput) ToSecretV1AclReadPtrOutput

func (o SecretV1AclReadOutput) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput

func (SecretV1AclReadOutput) ToSecretV1AclReadPtrOutputWithContext

func (o SecretV1AclReadOutput) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput

func (SecretV1AclReadOutput) UpdatedAt

The date the secret ACL was last updated.

func (SecretV1AclReadOutput) Users

The list of user IDs, which are allowed to access the secret, when `projectAccess` is set to `false`.

type SecretV1AclReadPtrInput

type SecretV1AclReadPtrInput interface {
	pulumi.Input

	ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput
	ToSecretV1AclReadPtrOutputWithContext(context.Context) SecretV1AclReadPtrOutput
}

SecretV1AclReadPtrInput is an input type that accepts SecretV1AclReadArgs, SecretV1AclReadPtr and SecretV1AclReadPtrOutput values. You can construct a concrete instance of `SecretV1AclReadPtrInput` via:

        SecretV1AclReadArgs{...}

or:

        nil

type SecretV1AclReadPtrOutput

type SecretV1AclReadPtrOutput struct{ *pulumi.OutputState }

func (SecretV1AclReadPtrOutput) CreatedAt

The date the secret ACL was created.

func (SecretV1AclReadPtrOutput) Elem

func (SecretV1AclReadPtrOutput) ElementType

func (SecretV1AclReadPtrOutput) ElementType() reflect.Type

func (SecretV1AclReadPtrOutput) ProjectAccess

func (o SecretV1AclReadPtrOutput) ProjectAccess() pulumi.BoolPtrOutput

Whether the secret is accessible project wide. Defaults to `true`.

func (SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutput

func (o SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput

func (SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutputWithContext

func (o SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput

func (SecretV1AclReadPtrOutput) UpdatedAt

The date the secret ACL was last updated.

func (SecretV1AclReadPtrOutput) Users

The list of user IDs, which are allowed to access the secret, when `projectAccess` is set to `false`.

type SecretV1Args

type SecretV1Args struct {
	// Allows to control an access to a secret. Currently only the
	// `read` operation is supported. If not specified, the secret is accessible
	// project wide.
	Acl SecretV1AclPtrInput
	// Metadata provided by a user or system for informational purposes.
	Algorithm pulumi.StringPtrInput
	// Metadata provided by a user or system for informational purposes.
	BitLength pulumi.IntPtrInput
	// The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret.
	Expiration pulumi.StringPtrInput
	// Additional Metadata for the secret.
	Metadata pulumi.MapInput
	// Metadata provided by a user or system for informational purposes.
	Mode pulumi.StringPtrInput
	// Human-readable name for the Secret. Does not have
	// to be unique.
	Name pulumi.StringPtrInput
	// The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included.
	Payload pulumi.StringPtrInput
	// (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`.
	PayloadContentEncoding pulumi.StringPtrInput
	// (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
	PayloadContentType pulumi.StringPtrInput
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a secret. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 secret.
	Region pulumi.StringPtrInput
	// Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
	SecretType pulumi.StringPtrInput
}

The set of arguments for constructing a SecretV1 resource.

func (SecretV1Args) ElementType

func (SecretV1Args) ElementType() reflect.Type

type SecretV1Array

type SecretV1Array []SecretV1Input

func (SecretV1Array) ElementType

func (SecretV1Array) ElementType() reflect.Type

func (SecretV1Array) ToSecretV1ArrayOutput

func (i SecretV1Array) ToSecretV1ArrayOutput() SecretV1ArrayOutput

func (SecretV1Array) ToSecretV1ArrayOutputWithContext

func (i SecretV1Array) ToSecretV1ArrayOutputWithContext(ctx context.Context) SecretV1ArrayOutput

type SecretV1ArrayInput

type SecretV1ArrayInput interface {
	pulumi.Input

	ToSecretV1ArrayOutput() SecretV1ArrayOutput
	ToSecretV1ArrayOutputWithContext(context.Context) SecretV1ArrayOutput
}

SecretV1ArrayInput is an input type that accepts SecretV1Array and SecretV1ArrayOutput values. You can construct a concrete instance of `SecretV1ArrayInput` via:

SecretV1Array{ SecretV1Args{...} }

type SecretV1ArrayOutput

type SecretV1ArrayOutput struct{ *pulumi.OutputState }

func (SecretV1ArrayOutput) ElementType

func (SecretV1ArrayOutput) ElementType() reflect.Type

func (SecretV1ArrayOutput) Index

func (SecretV1ArrayOutput) ToSecretV1ArrayOutput

func (o SecretV1ArrayOutput) ToSecretV1ArrayOutput() SecretV1ArrayOutput

func (SecretV1ArrayOutput) ToSecretV1ArrayOutputWithContext

func (o SecretV1ArrayOutput) ToSecretV1ArrayOutputWithContext(ctx context.Context) SecretV1ArrayOutput

type SecretV1Input

type SecretV1Input interface {
	pulumi.Input

	ToSecretV1Output() SecretV1Output
	ToSecretV1OutputWithContext(ctx context.Context) SecretV1Output
}

type SecretV1Map

type SecretV1Map map[string]SecretV1Input

func (SecretV1Map) ElementType

func (SecretV1Map) ElementType() reflect.Type

func (SecretV1Map) ToSecretV1MapOutput

func (i SecretV1Map) ToSecretV1MapOutput() SecretV1MapOutput

func (SecretV1Map) ToSecretV1MapOutputWithContext

func (i SecretV1Map) ToSecretV1MapOutputWithContext(ctx context.Context) SecretV1MapOutput

type SecretV1MapInput

type SecretV1MapInput interface {
	pulumi.Input

	ToSecretV1MapOutput() SecretV1MapOutput
	ToSecretV1MapOutputWithContext(context.Context) SecretV1MapOutput
}

SecretV1MapInput is an input type that accepts SecretV1Map and SecretV1MapOutput values. You can construct a concrete instance of `SecretV1MapInput` via:

SecretV1Map{ "key": SecretV1Args{...} }

type SecretV1MapOutput

type SecretV1MapOutput struct{ *pulumi.OutputState }

func (SecretV1MapOutput) ElementType

func (SecretV1MapOutput) ElementType() reflect.Type

func (SecretV1MapOutput) MapIndex

func (SecretV1MapOutput) ToSecretV1MapOutput

func (o SecretV1MapOutput) ToSecretV1MapOutput() SecretV1MapOutput

func (SecretV1MapOutput) ToSecretV1MapOutputWithContext

func (o SecretV1MapOutput) ToSecretV1MapOutputWithContext(ctx context.Context) SecretV1MapOutput

type SecretV1Output

type SecretV1Output struct{ *pulumi.OutputState }

func (SecretV1Output) Acl added in v3.9.0

Allows to control an access to a secret. Currently only the `read` operation is supported. If not specified, the secret is accessible project wide.

func (SecretV1Output) Algorithm added in v3.9.0

func (o SecretV1Output) Algorithm() pulumi.StringOutput

Metadata provided by a user or system for informational purposes.

func (SecretV1Output) AllMetadata added in v3.9.0

func (o SecretV1Output) AllMetadata() pulumi.MapOutput

The map of metadata, assigned on the secret, which has been explicitly and implicitly added.

func (SecretV1Output) BitLength added in v3.9.0

func (o SecretV1Output) BitLength() pulumi.IntOutput

Metadata provided by a user or system for informational purposes.

func (SecretV1Output) ContentTypes added in v3.9.0

func (o SecretV1Output) ContentTypes() pulumi.MapOutput

The map of the content types, assigned on the secret.

func (SecretV1Output) CreatedAt added in v3.9.0

func (o SecretV1Output) CreatedAt() pulumi.StringOutput

The date the secret ACL was created.

func (SecretV1Output) CreatorId added in v3.9.0

func (o SecretV1Output) CreatorId() pulumi.StringOutput

The creator of the secret.

func (SecretV1Output) ElementType

func (SecretV1Output) ElementType() reflect.Type

func (SecretV1Output) Expiration added in v3.9.0

func (o SecretV1Output) Expiration() pulumi.StringPtrOutput

The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret.

func (SecretV1Output) Metadata added in v3.9.0

func (o SecretV1Output) Metadata() pulumi.MapOutput

Additional Metadata for the secret.

func (SecretV1Output) Mode added in v3.9.0

Metadata provided by a user or system for informational purposes.

func (SecretV1Output) Name added in v3.9.0

Human-readable name for the Secret. Does not have to be unique.

func (SecretV1Output) Payload added in v3.9.0

The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included.

func (SecretV1Output) PayloadContentEncoding added in v3.9.0

func (o SecretV1Output) PayloadContentEncoding() pulumi.StringPtrOutput

(required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`.

func (SecretV1Output) PayloadContentType added in v3.9.0

func (o SecretV1Output) PayloadContentType() pulumi.StringPtrOutput

(required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.

func (SecretV1Output) Region added in v3.9.0

func (o SecretV1Output) Region() pulumi.StringOutput

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a secret. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 secret.

func (SecretV1Output) SecretRef added in v3.9.0

func (o SecretV1Output) SecretRef() pulumi.StringOutput

The secret reference / where to find the secret.

func (SecretV1Output) SecretType added in v3.9.0

func (o SecretV1Output) SecretType() pulumi.StringOutput

Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).

func (SecretV1Output) Status added in v3.9.0

func (o SecretV1Output) Status() pulumi.StringOutput

The status of the secret.

func (SecretV1Output) ToSecretV1Output

func (o SecretV1Output) ToSecretV1Output() SecretV1Output

func (SecretV1Output) ToSecretV1OutputWithContext

func (o SecretV1Output) ToSecretV1OutputWithContext(ctx context.Context) SecretV1Output

func (SecretV1Output) UpdatedAt added in v3.9.0

func (o SecretV1Output) UpdatedAt() pulumi.StringOutput

The date the secret ACL was last updated.

type SecretV1State

type SecretV1State struct {
	// Allows to control an access to a secret. Currently only the
	// `read` operation is supported. If not specified, the secret is accessible
	// project wide.
	Acl SecretV1AclPtrInput
	// Metadata provided by a user or system for informational purposes.
	Algorithm pulumi.StringPtrInput
	// The map of metadata, assigned on the secret, which has been
	// explicitly and implicitly added.
	AllMetadata pulumi.MapInput
	// Metadata provided by a user or system for informational purposes.
	BitLength pulumi.IntPtrInput
	// The map of the content types, assigned on the secret.
	ContentTypes pulumi.MapInput
	// The date the secret ACL was created.
	CreatedAt pulumi.StringPtrInput
	// The creator of the secret.
	CreatorId pulumi.StringPtrInput
	// The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret.
	Expiration pulumi.StringPtrInput
	// Additional Metadata for the secret.
	Metadata pulumi.MapInput
	// Metadata provided by a user or system for informational purposes.
	Mode pulumi.StringPtrInput
	// Human-readable name for the Secret. Does not have
	// to be unique.
	Name pulumi.StringPtrInput
	// The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included.
	Payload pulumi.StringPtrInput
	// (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`.
	PayloadContentEncoding pulumi.StringPtrInput
	// (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
	PayloadContentType pulumi.StringPtrInput
	// The region in which to obtain the V1 KeyManager client.
	// A KeyManager client is needed to create a secret. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// V1 secret.
	Region pulumi.StringPtrInput
	// The secret reference / where to find the secret.
	SecretRef pulumi.StringPtrInput
	// Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
	SecretType pulumi.StringPtrInput
	// The status of the secret.
	Status pulumi.StringPtrInput
	// The date the secret ACL was last updated.
	UpdatedAt pulumi.StringPtrInput
}

func (SecretV1State) ElementType

func (SecretV1State) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL