vkcs.KeymanagerContainer
Explore with Pulumi AI
Manages a key container resource within VKCS.
Example Usage
The container with the TLS certificate and private key which can be used by the loadbalancer HTTPS listener.
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const lbCert = new vkcs.KeymanagerContainer("lbCert", {
type: "certificate",
secretRefs: [
{
name: "certificate",
secretRef: vkcs_keymanager_secret.certificate.secret_ref,
},
{
name: "private_key",
secretRef: vkcs_keymanager_secret.priv_key.secret_ref,
},
],
});
import pulumi
import pulumi_vkcs as vkcs
lb_cert = vkcs.KeymanagerContainer("lbCert",
type="certificate",
secret_refs=[
{
"name": "certificate",
"secret_ref": vkcs_keymanager_secret["certificate"]["secret_ref"],
},
{
"name": "private_key",
"secret_ref": vkcs_keymanager_secret["priv_key"]["secret_ref"],
},
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.NewKeymanagerContainer(ctx, "lbCert", &vkcs.KeymanagerContainerArgs{
Type: pulumi.String("certificate"),
SecretRefs: vkcs.KeymanagerContainerSecretRefArray{
&vkcs.KeymanagerContainerSecretRefArgs{
Name: pulumi.String("certificate"),
SecretRef: pulumi.Any(vkcs_keymanager_secret.Certificate.Secret_ref),
},
&vkcs.KeymanagerContainerSecretRefArgs{
Name: pulumi.String("private_key"),
SecretRef: pulumi.Any(vkcs_keymanager_secret.Priv_key.Secret_ref),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var lbCert = new Vkcs.KeymanagerContainer("lbCert", new()
{
Type = "certificate",
SecretRefs = new[]
{
new Vkcs.Inputs.KeymanagerContainerSecretRefArgs
{
Name = "certificate",
SecretRef = vkcs_keymanager_secret.Certificate.Secret_ref,
},
new Vkcs.Inputs.KeymanagerContainerSecretRefArgs
{
Name = "private_key",
SecretRef = vkcs_keymanager_secret.Priv_key.Secret_ref,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.KeymanagerContainer;
import com.pulumi.vkcs.KeymanagerContainerArgs;
import com.pulumi.vkcs.inputs.KeymanagerContainerSecretRefArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var lbCert = new KeymanagerContainer("lbCert", KeymanagerContainerArgs.builder()
.type("certificate")
.secretRefs(
KeymanagerContainerSecretRefArgs.builder()
.name("certificate")
.secretRef(vkcs_keymanager_secret.certificate().secret_ref())
.build(),
KeymanagerContainerSecretRefArgs.builder()
.name("private_key")
.secretRef(vkcs_keymanager_secret.priv_key().secret_ref())
.build())
.build());
}
}
resources:
lbCert:
type: vkcs:KeymanagerContainer
properties:
type: certificate
secretRefs:
- name: certificate
secretRef: ${vkcs_keymanager_secret.certificate.secret_ref}
- name: private_key
secretRef: ${vkcs_keymanager_secret.priv_key.secret_ref}
Create KeymanagerContainer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KeymanagerContainer(name: string, args: KeymanagerContainerArgs, opts?: CustomResourceOptions);
@overload
def KeymanagerContainer(resource_name: str,
args: KeymanagerContainerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KeymanagerContainer(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
acl: Optional[KeymanagerContainerAclArgs] = None,
keymanager_container_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
secret_refs: Optional[Sequence[KeymanagerContainerSecretRefArgs]] = None,
timeouts: Optional[KeymanagerContainerTimeoutsArgs] = None)
func NewKeymanagerContainer(ctx *Context, name string, args KeymanagerContainerArgs, opts ...ResourceOption) (*KeymanagerContainer, error)
public KeymanagerContainer(string name, KeymanagerContainerArgs args, CustomResourceOptions? opts = null)
public KeymanagerContainer(String name, KeymanagerContainerArgs args)
public KeymanagerContainer(String name, KeymanagerContainerArgs args, CustomResourceOptions options)
type: vkcs:KeymanagerContainer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KeymanagerContainerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KeymanagerContainerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KeymanagerContainerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KeymanagerContainerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KeymanagerContainerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var keymanagerContainerResource = new Vkcs.KeymanagerContainer("keymanagerContainerResource", new()
{
Type = "string",
Acl = new Vkcs.Inputs.KeymanagerContainerAclArgs
{
Read = new Vkcs.Inputs.KeymanagerContainerAclReadArgs
{
CreatedAt = "string",
ProjectAccess = false,
UpdatedAt = "string",
Users = new[]
{
"string",
},
},
},
KeymanagerContainerId = "string",
Name = "string",
Region = "string",
SecretRefs = new[]
{
new Vkcs.Inputs.KeymanagerContainerSecretRefArgs
{
SecretRef = "string",
Name = "string",
},
},
Timeouts = new Vkcs.Inputs.KeymanagerContainerTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := vkcs.NewKeymanagerContainer(ctx, "keymanagerContainerResource", &vkcs.KeymanagerContainerArgs{
Type: pulumi.String("string"),
Acl: &vkcs.KeymanagerContainerAclArgs{
Read: &vkcs.KeymanagerContainerAclReadArgs{
CreatedAt: pulumi.String("string"),
ProjectAccess: pulumi.Bool(false),
UpdatedAt: pulumi.String("string"),
Users: pulumi.StringArray{
pulumi.String("string"),
},
},
},
KeymanagerContainerId: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SecretRefs: vkcs.KeymanagerContainerSecretRefArray{
&vkcs.KeymanagerContainerSecretRefArgs{
SecretRef: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Timeouts: &vkcs.KeymanagerContainerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var keymanagerContainerResource = new KeymanagerContainer("keymanagerContainerResource", KeymanagerContainerArgs.builder()
.type("string")
.acl(KeymanagerContainerAclArgs.builder()
.read(KeymanagerContainerAclReadArgs.builder()
.createdAt("string")
.projectAccess(false)
.updatedAt("string")
.users("string")
.build())
.build())
.keymanagerContainerId("string")
.name("string")
.region("string")
.secretRefs(KeymanagerContainerSecretRefArgs.builder()
.secretRef("string")
.name("string")
.build())
.timeouts(KeymanagerContainerTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
keymanager_container_resource = vkcs.KeymanagerContainer("keymanagerContainerResource",
type="string",
acl={
"read": {
"created_at": "string",
"project_access": False,
"updated_at": "string",
"users": ["string"],
},
},
keymanager_container_id="string",
name="string",
region="string",
secret_refs=[{
"secret_ref": "string",
"name": "string",
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const keymanagerContainerResource = new vkcs.KeymanagerContainer("keymanagerContainerResource", {
type: "string",
acl: {
read: {
createdAt: "string",
projectAccess: false,
updatedAt: "string",
users: ["string"],
},
},
keymanagerContainerId: "string",
name: "string",
region: "string",
secretRefs: [{
secretRef: "string",
name: "string",
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: vkcs:KeymanagerContainer
properties:
acl:
read:
createdAt: string
projectAccess: false
updatedAt: string
users:
- string
keymanagerContainerId: string
name: string
region: string
secretRefs:
- name: string
secretRef: string
timeouts:
create: string
delete: string
update: string
type: string
KeymanagerContainer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KeymanagerContainer resource accepts the following input properties:
- Type string
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - Acl
Keymanager
Container Acl - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - Keymanager
Container stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Container. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the 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 container. - Secret
Refs List<KeymanagerContainer Secret Ref> - optional → A set of dictionaries containing references to secrets. The structure is described below.
- Timeouts
Keymanager
Container Timeouts
- Type string
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - Acl
Keymanager
Container Acl Args - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - Keymanager
Container stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Container. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the 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 container. - Secret
Refs []KeymanagerContainer Secret Ref Args - optional → A set of dictionaries containing references to secrets. The structure is described below.
- Timeouts
Keymanager
Container Timeouts Args
- type String
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - acl
Keymanager
Container Acl - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - keymanager
Container StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Container. Does not have to be unique.
- region String
- optional string → The region in which to obtain the 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 container. - secret
Refs List<KeymanagerContainer Secret Ref> - optional → A set of dictionaries containing references to secrets. The structure is described below.
- timeouts
Keymanager
Container Timeouts
- type string
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - acl
Keymanager
Container Acl - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - keymanager
Container stringId - string → ID of the resource.
- name string
- optional string → Human-readable name for the Container. Does not have to be unique.
- region string
- optional string → The region in which to obtain the 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 container. - secret
Refs KeymanagerContainer Secret Ref[] - optional → A set of dictionaries containing references to secrets. The structure is described below.
- timeouts
Keymanager
Container Timeouts
- type str
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - acl
Keymanager
Container Acl Args - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - keymanager_
container_ strid - string → ID of the resource.
- name str
- optional string → Human-readable name for the Container. Does not have to be unique.
- region str
- optional string → The region in which to obtain the 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 container. - secret_
refs Sequence[KeymanagerContainer Secret Ref Args] - optional → A set of dictionaries containing references to secrets. The structure is described below.
- timeouts
Keymanager
Container Timeouts Args
- type String
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - acl Property Map
- optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - keymanager
Container StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Container. Does not have to be unique.
- region String
- optional string → The region in which to obtain the 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 container. - secret
Refs List<Property Map> - optional → A set of dictionaries containing references to secrets. The structure is described below.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the KeymanagerContainer resource produces the following output properties:
- Consumers
List<Keymanager
Container Consumer> - object → The list of the container consumers. The structure is described below.
- Container
Ref string - string → The container reference / where to find the container.
- Created
At string - string → The date the container ACL was created.
- Creator
Id string - string → The creator of the container.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- string → The status of the container.
- Updated
At string - string → The date the container ACL was last updated.
- Consumers
[]Keymanager
Container Consumer - object → The list of the container consumers. The structure is described below.
- Container
Ref string - string → The container reference / where to find the container.
- Created
At string - string → The date the container ACL was created.
- Creator
Id string - string → The creator of the container.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- string → The status of the container.
- Updated
At string - string → The date the container ACL was last updated.
- consumers
List<Keymanager
Container Consumer> - object → The list of the container consumers. The structure is described below.
- container
Ref String - string → The container reference / where to find the container.
- created
At String - string → The date the container ACL was created.
- creator
Id String - string → The creator of the container.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- string → The status of the container.
- updated
At String - string → The date the container ACL was last updated.
- consumers
Keymanager
Container Consumer[] - object → The list of the container consumers. The structure is described below.
- container
Ref string - string → The container reference / where to find the container.
- created
At string - string → The date the container ACL was created.
- creator
Id string - string → The creator of the container.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- string → The status of the container.
- updated
At string - string → The date the container ACL was last updated.
- consumers
Sequence[Keymanager
Container Consumer] - object → The list of the container consumers. The structure is described below.
- container_
ref str - string → The container reference / where to find the container.
- created_
at str - string → The date the container ACL was created.
- creator_
id str - string → The creator of the container.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- string → The status of the container.
- updated_
at str - string → The date the container ACL was last updated.
- consumers List<Property Map>
- object → The list of the container consumers. The structure is described below.
- container
Ref String - string → The container reference / where to find the container.
- created
At String - string → The date the container ACL was created.
- creator
Id String - string → The creator of the container.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- string → The status of the container.
- updated
At String - string → The date the container ACL was last updated.
Look up Existing KeymanagerContainer Resource
Get an existing KeymanagerContainer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KeymanagerContainerState, opts?: CustomResourceOptions): KeymanagerContainer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acl: Optional[KeymanagerContainerAclArgs] = None,
consumers: Optional[Sequence[KeymanagerContainerConsumerArgs]] = None,
container_ref: Optional[str] = None,
created_at: Optional[str] = None,
creator_id: Optional[str] = None,
keymanager_container_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
secret_refs: Optional[Sequence[KeymanagerContainerSecretRefArgs]] = None,
status: Optional[str] = None,
timeouts: Optional[KeymanagerContainerTimeoutsArgs] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> KeymanagerContainer
func GetKeymanagerContainer(ctx *Context, name string, id IDInput, state *KeymanagerContainerState, opts ...ResourceOption) (*KeymanagerContainer, error)
public static KeymanagerContainer Get(string name, Input<string> id, KeymanagerContainerState? state, CustomResourceOptions? opts = null)
public static KeymanagerContainer get(String name, Output<String> id, KeymanagerContainerState state, CustomResourceOptions options)
resources: _: type: vkcs:KeymanagerContainer get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acl
Keymanager
Container Acl - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - Consumers
List<Keymanager
Container Consumer> - object → The list of the container consumers. The structure is described below.
- Container
Ref string - string → The container reference / where to find the container.
- Created
At string - string → The date the container ACL was created.
- Creator
Id string - string → The creator of the container.
- Keymanager
Container stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Container. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the 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 container. - Secret
Refs List<KeymanagerContainer Secret Ref> - optional → A set of dictionaries containing references to secrets. The structure is described below.
- Status string
- string → The status of the container.
- Timeouts
Keymanager
Container Timeouts - Type string
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - Updated
At string - string → The date the container ACL was last updated.
- Acl
Keymanager
Container Acl Args - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - Consumers
[]Keymanager
Container Consumer Args - object → The list of the container consumers. The structure is described below.
- Container
Ref string - string → The container reference / where to find the container.
- Created
At string - string → The date the container ACL was created.
- Creator
Id string - string → The creator of the container.
- Keymanager
Container stringId - string → ID of the resource.
- Name string
- optional string → Human-readable name for the Container. Does not have to be unique.
- Region string
- optional string → The region in which to obtain the 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 container. - Secret
Refs []KeymanagerContainer Secret Ref Args - optional → A set of dictionaries containing references to secrets. The structure is described below.
- Status string
- string → The status of the container.
- Timeouts
Keymanager
Container Timeouts Args - Type string
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - Updated
At string - string → The date the container ACL was last updated.
- acl
Keymanager
Container Acl - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - consumers
List<Keymanager
Container Consumer> - object → The list of the container consumers. The structure is described below.
- container
Ref String - string → The container reference / where to find the container.
- created
At String - string → The date the container ACL was created.
- creator
Id String - string → The creator of the container.
- keymanager
Container StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Container. Does not have to be unique.
- region String
- optional string → The region in which to obtain the 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 container. - secret
Refs List<KeymanagerContainer Secret Ref> - optional → A set of dictionaries containing references to secrets. The structure is described below.
- status String
- string → The status of the container.
- timeouts
Keymanager
Container Timeouts - type String
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - updated
At String - string → The date the container ACL was last updated.
- acl
Keymanager
Container Acl - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - consumers
Keymanager
Container Consumer[] - object → The list of the container consumers. The structure is described below.
- container
Ref string - string → The container reference / where to find the container.
- created
At string - string → The date the container ACL was created.
- creator
Id string - string → The creator of the container.
- keymanager
Container stringId - string → ID of the resource.
- name string
- optional string → Human-readable name for the Container. Does not have to be unique.
- region string
- optional string → The region in which to obtain the 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 container. - secret
Refs KeymanagerContainer Secret Ref[] - optional → A set of dictionaries containing references to secrets. The structure is described below.
- status string
- string → The status of the container.
- timeouts
Keymanager
Container Timeouts - type string
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - updated
At string - string → The date the container ACL was last updated.
- acl
Keymanager
Container Acl Args - optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - consumers
Sequence[Keymanager
Container Consumer Args] - object → The list of the container consumers. The structure is described below.
- container_
ref str - string → The container reference / where to find the container.
- created_
at str - string → The date the container ACL was created.
- creator_
id str - string → The creator of the container.
- keymanager_
container_ strid - string → ID of the resource.
- name str
- optional string → Human-readable name for the Container. Does not have to be unique.
- region str
- optional string → The region in which to obtain the 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 container. - secret_
refs Sequence[KeymanagerContainer Secret Ref Args] - optional → A set of dictionaries containing references to secrets. The structure is described below.
- status str
- string → The status of the container.
- timeouts
Keymanager
Container Timeouts Args - type str
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - updated_
at str - string → The date the container ACL was last updated.
- acl Property Map
- optional → Allows to control an access to a container. Currently only the
read
operation is supported. If not specified, the container is accessible project wide. Theread
structure is described below. - consumers List<Property Map>
- object → The list of the container consumers. The structure is described below.
- container
Ref String - string → The container reference / where to find the container.
- created
At String - string → The date the container ACL was created.
- creator
Id String - string → The creator of the container.
- keymanager
Container StringId - string → ID of the resource.
- name String
- optional string → Human-readable name for the Container. Does not have to be unique.
- region String
- optional string → The region in which to obtain the 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 container. - secret
Refs List<Property Map> - optional → A set of dictionaries containing references to secrets. The structure is described below.
- status String
- string → The status of the container.
- timeouts Property Map
- type String
- required string → Used to indicate the type of container. Must be one of
generic
,rsa
orcertificate
. - updated
At String - string → The date the container ACL was last updated.
Supporting Types
KeymanagerContainerAcl, KeymanagerContainerAclArgs
- Read
Keymanager
Container Acl Read - optional → Block that describes read operation.
- Read
Keymanager
Container Acl Read - optional → Block that describes read operation.
- read
Keymanager
Container Acl Read - optional → Block that describes read operation.
- read
Keymanager
Container Acl Read - optional → Block that describes read operation.
- read
Keymanager
Container Acl Read - optional → Block that describes read operation.
- read Property Map
- optional → Block that describes read operation.
KeymanagerContainerAclRead, KeymanagerContainerAclReadArgs
- Created
At string - string → The date the container ACL was created.
- Project
Access bool - optional boolean → Whether the container is accessible project wide. Defaults to
true
. - Updated
At string - string → The date the container ACL was last updated.
- Users List<string>
- optional set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- Created
At string - string → The date the container ACL was created.
- Project
Access bool - optional boolean → Whether the container is accessible project wide. Defaults to
true
. - Updated
At string - string → The date the container ACL was last updated.
- Users []string
- optional set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created
At String - string → The date the container ACL was created.
- project
Access Boolean - optional boolean → Whether the container is accessible project wide. Defaults to
true
. - updated
At String - string → The date the container ACL was last updated.
- users List<String>
- optional set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created
At string - string → The date the container ACL was created.
- project
Access boolean - optional boolean → Whether the container is accessible project wide. Defaults to
true
. - updated
At string - string → The date the container ACL was last updated.
- users string[]
- optional set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created_
at str - string → The date the container ACL was created.
- project_
access bool - optional boolean → Whether the container is accessible project wide. Defaults to
true
. - updated_
at str - string → The date the container ACL was last updated.
- users Sequence[str]
- optional set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created
At String - string → The date the container ACL was created.
- project
Access Boolean - optional boolean → Whether the container is accessible project wide. Defaults to
true
. - updated
At String - string → The date the container ACL was last updated.
- users List<String>
- optional set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
KeymanagerContainerConsumer, KeymanagerContainerConsumerArgs
KeymanagerContainerSecretRef, KeymanagerContainerSecretRefArgs
- secret_
ref str - required string → The secret reference / where to find the secret, URL.
- name str
- optional string → The name of the secret reference. The reference names must correspond the container type, more details are available here.
KeymanagerContainerTimeouts, KeymanagerContainerTimeoutsArgs
Import
Containers can be imported using the container id (the last part of the container reference), e.g.:
$ pulumi import vkcs:index/keymanagerContainer:KeymanagerContainer container_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.