HashiCorp Vault

v5.1.0 published on Thursday, Dec 30, 2021 by Pulumi

RaftSnapshotAgentConfig

Import

Raft Snapshot Agent Configurations can be imported using the name, e.g.

 $ pulumi import vault:index/raftSnapshotAgentConfig:RaftSnapshotAgentConfig local local

Create a RaftSnapshotAgentConfig Resource

new RaftSnapshotAgentConfig(name: string, args: RaftSnapshotAgentConfigArgs, opts?: CustomResourceOptions);
@overload
def RaftSnapshotAgentConfig(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            aws_access_key_id: Optional[str] = None,
                            aws_s3_bucket: Optional[str] = None,
                            aws_s3_disable_tls: Optional[bool] = None,
                            aws_s3_enable_kms: Optional[bool] = None,
                            aws_s3_endpoint: Optional[str] = None,
                            aws_s3_force_path_style: Optional[bool] = None,
                            aws_s3_kms_key: Optional[str] = None,
                            aws_s3_region: Optional[str] = None,
                            aws_s3_server_side_encryption: Optional[bool] = None,
                            aws_secret_access_key: Optional[str] = None,
                            aws_session_token: Optional[str] = None,
                            azure_account_key: Optional[str] = None,
                            azure_account_name: Optional[str] = None,
                            azure_blob_environment: Optional[str] = None,
                            azure_container_name: Optional[str] = None,
                            azure_endpoint: Optional[str] = None,
                            file_prefix: Optional[str] = None,
                            google_disable_tls: Optional[bool] = None,
                            google_endpoint: Optional[str] = None,
                            google_gcs_bucket: Optional[str] = None,
                            google_service_account_key: Optional[str] = None,
                            interval_seconds: Optional[int] = None,
                            local_max_space: Optional[int] = None,
                            name: Optional[str] = None,
                            path_prefix: Optional[str] = None,
                            retain: Optional[int] = None,
                            storage_type: Optional[str] = None)
@overload
def RaftSnapshotAgentConfig(resource_name: str,
                            args: RaftSnapshotAgentConfigArgs,
                            opts: Optional[ResourceOptions] = None)
func NewRaftSnapshotAgentConfig(ctx *Context, name string, args RaftSnapshotAgentConfigArgs, opts ...ResourceOption) (*RaftSnapshotAgentConfig, error)
public RaftSnapshotAgentConfig(string name, RaftSnapshotAgentConfigArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args RaftSnapshotAgentConfigArgs
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 RaftSnapshotAgentConfigArgs
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 RaftSnapshotAgentConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RaftSnapshotAgentConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

RaftSnapshotAgentConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The RaftSnapshotAgentConfig resource accepts the following input properties:

IntervalSeconds int
<required> - Time (in seconds) between snapshots.
PathPrefix string
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
StorageType string
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.
AwsAccessKeyId string
AWS access key ID.
AwsS3Bucket string
<required> - S3 bucket to write snapshots to.
AwsS3DisableTls bool
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
AwsS3EnableKms bool
Use KMS to encrypt bucket contents.
AwsS3Endpoint string
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
AwsS3ForcePathStyle bool
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
AwsS3KmsKey string
Use named KMS key, when aws_s3_enable_kms = true
AwsS3Region string
<required> - AWS region bucket is in.
AwsS3ServerSideEncryption bool
Use AES256 to encrypt bucket contents.
AwsSecretAccessKey string
AWS secret access key.
AwsSessionToken string
AWS session token.
AzureAccountKey string
Azure account key.
AzureAccountName string
Azure account name.
AzureBlobEnvironment string
Azure blob environment.
AzureContainerName string
<required> - Azure container name to write snapshots to.
AzureEndpoint string
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
FilePrefix string
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
GoogleDisableTls bool
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
GoogleEndpoint string
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
GoogleGcsBucket string
<required> - GCS bucket to write snapshots to.
GoogleServiceAccountKey string
Google service account key in JSON format. The raw value looks like this:
LocalMaxSpace int
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
Name string
<required> – Name of the configuration to modify.
Retain int
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
IntervalSeconds int
<required> - Time (in seconds) between snapshots.
PathPrefix string
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
StorageType string
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.
AwsAccessKeyId string
AWS access key ID.
AwsS3Bucket string
<required> - S3 bucket to write snapshots to.
AwsS3DisableTls bool
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
AwsS3EnableKms bool
Use KMS to encrypt bucket contents.
AwsS3Endpoint string
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
AwsS3ForcePathStyle bool
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
AwsS3KmsKey string
Use named KMS key, when aws_s3_enable_kms = true
AwsS3Region string
<required> - AWS region bucket is in.
AwsS3ServerSideEncryption bool
Use AES256 to encrypt bucket contents.
AwsSecretAccessKey string
AWS secret access key.
AwsSessionToken string
AWS session token.
AzureAccountKey string
Azure account key.
AzureAccountName string
Azure account name.
AzureBlobEnvironment string
Azure blob environment.
AzureContainerName string
<required> - Azure container name to write snapshots to.
AzureEndpoint string
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
FilePrefix string
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
GoogleDisableTls bool
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
GoogleEndpoint string
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
GoogleGcsBucket string
<required> - GCS bucket to write snapshots to.
GoogleServiceAccountKey string
Google service account key in JSON format. The raw value looks like this:
LocalMaxSpace int
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
Name string
<required> – Name of the configuration to modify.
Retain int
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
intervalSeconds number
<required> - Time (in seconds) between snapshots.
pathPrefix string
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
storageType string
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.
awsAccessKeyId string
AWS access key ID.
awsS3Bucket string
<required> - S3 bucket to write snapshots to.
awsS3DisableTls boolean
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
awsS3EnableKms boolean
Use KMS to encrypt bucket contents.
awsS3Endpoint string
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
awsS3ForcePathStyle boolean
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
awsS3KmsKey string
Use named KMS key, when aws_s3_enable_kms = true
awsS3Region string
<required> - AWS region bucket is in.
awsS3ServerSideEncryption boolean
Use AES256 to encrypt bucket contents.
awsSecretAccessKey string
AWS secret access key.
awsSessionToken string
AWS session token.
azureAccountKey string
Azure account key.
azureAccountName string
Azure account name.
azureBlobEnvironment string
Azure blob environment.
azureContainerName string
<required> - Azure container name to write snapshots to.
azureEndpoint string
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
filePrefix string
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
googleDisableTls boolean
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
googleEndpoint string
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
googleGcsBucket string
<required> - GCS bucket to write snapshots to.
googleServiceAccountKey string
Google service account key in JSON format. The raw value looks like this:
localMaxSpace number
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
name string
<required> – Name of the configuration to modify.
retain number
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
interval_seconds int
<required> - Time (in seconds) between snapshots.
path_prefix str
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
storage_type str
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.
aws_access_key_id str
AWS access key ID.
aws_s3_bucket str
<required> - S3 bucket to write snapshots to.
aws_s3_disable_tls bool
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
aws_s3_enable_kms bool
Use KMS to encrypt bucket contents.
aws_s3_endpoint str
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
aws_s3_force_path_style bool
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
aws_s3_kms_key str
Use named KMS key, when aws_s3_enable_kms = true
aws_s3_region str
<required> - AWS region bucket is in.
aws_s3_server_side_encryption bool
Use AES256 to encrypt bucket contents.
aws_secret_access_key str
AWS secret access key.
aws_session_token str
AWS session token.
azure_account_key str
Azure account key.
azure_account_name str
Azure account name.
azure_blob_environment str
Azure blob environment.
azure_container_name str
<required> - Azure container name to write snapshots to.
azure_endpoint str
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
file_prefix str
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
google_disable_tls bool
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
google_endpoint str
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
google_gcs_bucket str
<required> - GCS bucket to write snapshots to.
google_service_account_key str
Google service account key in JSON format. The raw value looks like this:
local_max_space int
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
name str
<required> – Name of the configuration to modify.
retain int
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.

Outputs

All input properties are implicitly available as output properties. Additionally, the RaftSnapshotAgentConfig resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing RaftSnapshotAgentConfig Resource

Get an existing RaftSnapshotAgentConfig 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?: RaftSnapshotAgentConfigState, opts?: CustomResourceOptions): RaftSnapshotAgentConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aws_access_key_id: Optional[str] = None,
        aws_s3_bucket: Optional[str] = None,
        aws_s3_disable_tls: Optional[bool] = None,
        aws_s3_enable_kms: Optional[bool] = None,
        aws_s3_endpoint: Optional[str] = None,
        aws_s3_force_path_style: Optional[bool] = None,
        aws_s3_kms_key: Optional[str] = None,
        aws_s3_region: Optional[str] = None,
        aws_s3_server_side_encryption: Optional[bool] = None,
        aws_secret_access_key: Optional[str] = None,
        aws_session_token: Optional[str] = None,
        azure_account_key: Optional[str] = None,
        azure_account_name: Optional[str] = None,
        azure_blob_environment: Optional[str] = None,
        azure_container_name: Optional[str] = None,
        azure_endpoint: Optional[str] = None,
        file_prefix: Optional[str] = None,
        google_disable_tls: Optional[bool] = None,
        google_endpoint: Optional[str] = None,
        google_gcs_bucket: Optional[str] = None,
        google_service_account_key: Optional[str] = None,
        interval_seconds: Optional[int] = None,
        local_max_space: Optional[int] = None,
        name: Optional[str] = None,
        path_prefix: Optional[str] = None,
        retain: Optional[int] = None,
        storage_type: Optional[str] = None) -> RaftSnapshotAgentConfig
func GetRaftSnapshotAgentConfig(ctx *Context, name string, id IDInput, state *RaftSnapshotAgentConfigState, opts ...ResourceOption) (*RaftSnapshotAgentConfig, error)
public static RaftSnapshotAgentConfig Get(string name, Input<string> id, RaftSnapshotAgentConfigState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AwsAccessKeyId string
AWS access key ID.
AwsS3Bucket string
<required> - S3 bucket to write snapshots to.
AwsS3DisableTls bool
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
AwsS3EnableKms bool
Use KMS to encrypt bucket contents.
AwsS3Endpoint string
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
AwsS3ForcePathStyle bool
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
AwsS3KmsKey string
Use named KMS key, when aws_s3_enable_kms = true
AwsS3Region string
<required> - AWS region bucket is in.
AwsS3ServerSideEncryption bool
Use AES256 to encrypt bucket contents.
AwsSecretAccessKey string
AWS secret access key.
AwsSessionToken string
AWS session token.
AzureAccountKey string
Azure account key.
AzureAccountName string
Azure account name.
AzureBlobEnvironment string
Azure blob environment.
AzureContainerName string
<required> - Azure container name to write snapshots to.
AzureEndpoint string
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
FilePrefix string
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
GoogleDisableTls bool
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
GoogleEndpoint string
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
GoogleGcsBucket string
<required> - GCS bucket to write snapshots to.
GoogleServiceAccountKey string
Google service account key in JSON format. The raw value looks like this:
IntervalSeconds int
<required> - Time (in seconds) between snapshots.
LocalMaxSpace int
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
Name string
<required> – Name of the configuration to modify.
PathPrefix string
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
Retain int
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
StorageType string
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.
AwsAccessKeyId string
AWS access key ID.
AwsS3Bucket string
<required> - S3 bucket to write snapshots to.
AwsS3DisableTls bool
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
AwsS3EnableKms bool
Use KMS to encrypt bucket contents.
AwsS3Endpoint string
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
AwsS3ForcePathStyle bool
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
AwsS3KmsKey string
Use named KMS key, when aws_s3_enable_kms = true
AwsS3Region string
<required> - AWS region bucket is in.
AwsS3ServerSideEncryption bool
Use AES256 to encrypt bucket contents.
AwsSecretAccessKey string
AWS secret access key.
AwsSessionToken string
AWS session token.
AzureAccountKey string
Azure account key.
AzureAccountName string
Azure account name.
AzureBlobEnvironment string
Azure blob environment.
AzureContainerName string
<required> - Azure container name to write snapshots to.
AzureEndpoint string
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
FilePrefix string
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
GoogleDisableTls bool
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
GoogleEndpoint string
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
GoogleGcsBucket string
<required> - GCS bucket to write snapshots to.
GoogleServiceAccountKey string
Google service account key in JSON format. The raw value looks like this:
IntervalSeconds int
<required> - Time (in seconds) between snapshots.
LocalMaxSpace int
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
Name string
<required> – Name of the configuration to modify.
PathPrefix string
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
Retain int
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
StorageType string
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.
awsAccessKeyId string
AWS access key ID.
awsS3Bucket string
<required> - S3 bucket to write snapshots to.
awsS3DisableTls boolean
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
awsS3EnableKms boolean
Use KMS to encrypt bucket contents.
awsS3Endpoint string
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
awsS3ForcePathStyle boolean
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
awsS3KmsKey string
Use named KMS key, when aws_s3_enable_kms = true
awsS3Region string
<required> - AWS region bucket is in.
awsS3ServerSideEncryption boolean
Use AES256 to encrypt bucket contents.
awsSecretAccessKey string
AWS secret access key.
awsSessionToken string
AWS session token.
azureAccountKey string
Azure account key.
azureAccountName string
Azure account name.
azureBlobEnvironment string
Azure blob environment.
azureContainerName string
<required> - Azure container name to write snapshots to.
azureEndpoint string
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
filePrefix string
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
googleDisableTls boolean
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
googleEndpoint string
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
googleGcsBucket string
<required> - GCS bucket to write snapshots to.
googleServiceAccountKey string
Google service account key in JSON format. The raw value looks like this:
intervalSeconds number
<required> - Time (in seconds) between snapshots.
localMaxSpace number
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
name string
<required> – Name of the configuration to modify.
pathPrefix string
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
retain number
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
storageType string
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.
aws_access_key_id str
AWS access key ID.
aws_s3_bucket str
<required> - S3 bucket to write snapshots to.
aws_s3_disable_tls bool
Disable TLS for the S3 endpoint. This should only be used for testing purposes, typically in conjunction with aws_s3_endpoint.
aws_s3_enable_kms bool
Use KMS to encrypt bucket contents.
aws_s3_endpoint str
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
aws_s3_force_path_style bool
Use the endpoint/bucket URL style instead of bucket.endpoint. May be needed when setting aws_s3_endpoint.
aws_s3_kms_key str
Use named KMS key, when aws_s3_enable_kms = true
aws_s3_region str
<required> - AWS region bucket is in.
aws_s3_server_side_encryption bool
Use AES256 to encrypt bucket contents.
aws_secret_access_key str
AWS secret access key.
aws_session_token str
AWS session token.
azure_account_key str
Azure account key.
azure_account_name str
Azure account name.
azure_blob_environment str
Azure blob environment.
azure_container_name str
<required> - Azure container name to write snapshots to.
azure_endpoint str
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
file_prefix str
Within the directory or bucket prefix given by path_prefix, the file or object name of snapshot files will start with this string.
google_disable_tls bool
Disable TLS for the GCS endpoint. This should only be used for testing purposes, typically in conjunction with google_endpoint.
google_endpoint str
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
google_gcs_bucket str
<required> - GCS bucket to write snapshots to.
google_service_account_key str
Google service account key in JSON format. The raw value looks like this:
interval_seconds int
<required> - Time (in seconds) between snapshots.
local_max_space int
For storage_type = local, the maximum space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough space left in this allowance.
name str
<required> – Name of the configuration to modify.
path_prefix str
<required> - For storage_type = "local", the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types azure-s3 and google-gcs require a trailing / (slash). Types local and aws-s3 the trailing / is optional.
retain int
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
storage_type str
<required> - One of “local”, “azure-blob”, “aws-s3”, or “google-gcs”. The remaining parameters described below are all specific to the selected storage_type and prefixed accordingly.

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.