The key resource.
Uses Azure REST API version 2024-11-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
Other available API versions: 2023-02-01, 2023-07-01, 2024-04-01-preview, 2024-12-01-preview, 2025-05-01, 2026-02-01, 2026-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native keyvault [ApiVersion]. See the version guide for details.
Example Usage
Create a key
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var key = new AzureNative.KeyVault.Key("key", new()
{
KeyName = "sample-key-name",
Properties = new AzureNative.KeyVault.Inputs.KeyPropertiesArgs
{
Kty = AzureNative.KeyVault.JsonWebKeyType.RSA,
},
ResourceGroupName = "sample-group",
VaultName = "sample-vault-name",
});
});
package main
import (
keyvault "github.com/pulumi/pulumi-azure-native-sdk/keyvault/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := keyvault.NewKey(ctx, "key", &keyvault.KeyArgs{
KeyName: pulumi.String("sample-key-name"),
Properties: &keyvault.KeyPropertiesArgs{
Kty: pulumi.String(keyvault.JsonWebKeyTypeRSA),
},
ResourceGroupName: pulumi.String("sample-group"),
VaultName: pulumi.String("sample-vault-name"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_keyvault_key" "key" {
lifecycle {
create_before_destroy = true
}
key_name = "sample-key-name"
properties = {
kty = "RSA"
}
resource_group_name = "sample-group"
vault_name = "sample-vault-name"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.keyvault.Key;
import com.pulumi.azurenative.keyvault.KeyArgs;
import com.pulumi.azurenative.keyvault.inputs.KeyPropertiesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 key = new Key("key", KeyArgs.builder()
.keyName("sample-key-name")
.properties(KeyPropertiesArgs.builder()
.kty("RSA")
.build())
.resourceGroupName("sample-group")
.vaultName("sample-vault-name")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const key = new azure_native.keyvault.Key("key", {
keyName: "sample-key-name",
properties: {
kty: azure_native.keyvault.JsonWebKeyType.RSA,
},
resourceGroupName: "sample-group",
vaultName: "sample-vault-name",
});
import pulumi
import pulumi_azure_native as azure_native
key = azure_native.keyvault.Key("key",
key_name="sample-key-name",
properties={
"kty": azure_native.keyvault.JsonWebKeyType.RSA,
},
resource_group_name="sample-group",
vault_name="sample-vault-name")
resources:
key:
type: azure-native:keyvault:Key
properties:
keyName: sample-key-name
properties:
kty: RSA
resourceGroupName: sample-group
vaultName: sample-vault-name
Create Key Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Key(resource_name: str,
args: KeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Key(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[KeyPropertiesArgs] = None,
resource_group_name: Optional[str] = None,
vault_name: Optional[str] = None,
key_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
public Key(String name, KeyArgs args)
public Key(String name, KeyArgs args, CustomResourceOptions options)
type: azure-native:keyvault:Key
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_keyvault_key" "name" {
# resource properties
}
Parameters
- name
string
- The unique name of the resource.
- args
KeyArgs
- 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
KeyArgs
- 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
KeyArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resource.
- args
KeyArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
KeyArgs
- 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 keyResource = new AzureNative.KeyVault.Key("keyResource", new()
{
Properties = new AzureNative.KeyVault.Inputs.KeyPropertiesArgs
{
Attributes = new AzureNative.KeyVault.Inputs.KeyAttributesArgs
{
Enabled = false,
Expires = 0.0,
Exportable = false,
NotBefore = 0.0,
},
CurveName = "string",
KeyOps =
{
"string",
},
KeySize = 0,
Kty = "string",
ReleasePolicy = new AzureNative.KeyVault.Inputs.KeyReleasePolicyArgs
{
ContentType = "string",
Data = "string",
},
RotationPolicy = new AzureNative.KeyVault.Inputs.RotationPolicyArgs
{
Attributes = new AzureNative.KeyVault.Inputs.KeyRotationPolicyAttributesArgs
{
ExpiryTime = "string",
},
LifetimeActions = new[]
{
new AzureNative.KeyVault.Inputs.LifetimeActionArgs
{
Action = new AzureNative.KeyVault.Inputs.ActionArgs
{
Type = AzureNative.KeyVault.KeyRotationPolicyActionType.Rotate,
},
Trigger = new AzureNative.KeyVault.Inputs.TriggerArgs
{
TimeAfterCreate = "string",
TimeBeforeExpiry = "string",
},
},
},
},
},
ResourceGroupName = "string",
VaultName = "string",
KeyName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := keyvault.NewKey(ctx, "keyResource", &keyvault.KeyArgs{
Properties: &keyvault.KeyPropertiesArgs{
Attributes: &keyvault.KeyAttributesArgs{
Enabled: pulumi.Bool(false),
Expires: pulumi.Float64(0),
Exportable: pulumi.Bool(false),
NotBefore: pulumi.Float64(0),
},
CurveName: pulumi.String("string"),
KeyOps: pulumi.StringArray{
pulumi.String("string"),
},
KeySize: pulumi.Int(0),
Kty: pulumi.String("string"),
ReleasePolicy: &keyvault.KeyReleasePolicyArgs{
ContentType: pulumi.String("string"),
Data: pulumi.String("string"),
},
RotationPolicy: &keyvault.RotationPolicyArgs{
Attributes: &keyvault.KeyRotationPolicyAttributesArgs{
ExpiryTime: pulumi.String("string"),
},
LifetimeActions: keyvault.LifetimeActionArray{
&keyvault.LifetimeActionArgs{
Action: &keyvault.ActionArgs{
Type: keyvault.KeyRotationPolicyActionTypeRotate,
},
Trigger: &keyvault.TriggerArgs{
TimeAfterCreate: pulumi.String("string"),
TimeBeforeExpiry: pulumi.String("string"),
},
},
},
},
},
ResourceGroupName: pulumi.String("string"),
VaultName: pulumi.String("string"),
KeyName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "azure-native_keyvault_key" "keyResource" {
lifecycle {
create_before_destroy = true
}
properties = {
attributes = {
enabled = false
expires = 0
exportable = false
not_before = 0
}
curve_name = "string"
key_ops = ["string"]
key_size = 0
kty = "string"
release_policy = {
content_type = "string"
data = "string"
}
rotation_policy = {
attributes = {
expiry_time = "string"
}
lifetime_actions = [{
action = {
type = "rotate"
}
trigger = {
time_after_create = "string"
time_before_expiry = "string"
}
}]
}
}
resource_group_name = "string"
vault_name = "string"
key_name = "string"
tags = {
"string" = "string"
}
}
var keyResource = new com.pulumi.azurenative.keyvault.Key("keyResource", com.pulumi.azurenative.keyvault.KeyArgs.builder()
.properties(com.pulumi.azurenative.keyvault.inputs.KeyPropertiesArgs.builder()
.attributes(KeyAttributesArgs.builder()
.enabled(false)
.expires(0.0)
.exportable(false)
.notBefore(0.0)
.build())
.curveName("string")
.keyOps("string")
.keySize(0)
.kty("string")
.releasePolicy(KeyReleasePolicyArgs.builder()
.contentType("string")
.data("string")
.build())
.rotationPolicy(RotationPolicyArgs.builder()
.attributes(KeyRotationPolicyAttributesArgs.builder()
.expiryTime("string")
.build())
.lifetimeActions(LifetimeActionArgs.builder()
.action(com.pulumi.azurenative.keyvault.inputs.ActionArgs.builder()
.type(com.pulumi.azurenative.keyvault.enums.KeyRotationPolicyActionType.Rotate)
.build())
.trigger(com.pulumi.azurenative.keyvault.inputs.TriggerArgs.builder()
.timeAfterCreate("string")
.timeBeforeExpiry("string")
.build())
.build())
.build())
.build())
.resourceGroupName("string")
.vaultName("string")
.keyName("string")
.tags(Map.of("string", "string"))
.build());
key_resource = azure_native.keyvault.Key("keyResource",
properties={
"attributes": {
"enabled": False,
"expires": float(0),
"exportable": False,
"not_before": float(0),
},
"curve_name": "string",
"key_ops": ["string"],
"key_size": 0,
"kty": "string",
"release_policy": {
"content_type": "string",
"data": "string",
},
"rotation_policy": {
"attributes": {
"expiry_time": "string",
},
"lifetime_actions": [{
"action": {
"type": azure_native.keyvault.KeyRotationPolicyActionType.ROTATE,
},
"trigger": {
"time_after_create": "string",
"time_before_expiry": "string",
},
}],
},
},
resource_group_name="string",
vault_name="string",
key_name="string",
tags={
"string": "string",
})
const keyResource = new azure_native.keyvault.Key("keyResource", {
properties: {
attributes: {
enabled: false,
expires: 0,
exportable: false,
notBefore: 0,
},
curveName: "string",
keyOps: ["string"],
keySize: 0,
kty: "string",
releasePolicy: {
contentType: "string",
data: "string",
},
rotationPolicy: {
attributes: {
expiryTime: "string",
},
lifetimeActions: [{
action: {
type: azure_native.keyvault.KeyRotationPolicyActionType.Rotate,
},
trigger: {
timeAfterCreate: "string",
timeBeforeExpiry: "string",
},
}],
},
},
resourceGroupName: "string",
vaultName: "string",
keyName: "string",
tags: {
string: "string",
},
});
type: azure-native:keyvault:Key
properties:
keyName: string
properties:
attributes:
enabled: false
expires: 0
exportable: false
notBefore: 0
curveName: string
keyOps:
- string
keySize: 0
kty: string
releasePolicy:
contentType: string
data: string
rotationPolicy:
attributes:
expiryTime: string
lifetimeActions:
- action:
type: rotate
trigger:
timeAfterCreate: string
timeBeforeExpiry: string
resourceGroupName: string
tags:
string: string
vaultName: string
Key Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Key resource accepts the following input properties:
- Properties
Pulumi.AzureNative.KeyVault.Inputs.KeyProperties
- The properties of the key to be created.
- ResourceGroupName
string
- The name of the resource group which contains the specified key vault.
- VaultName
string
- The name of the key vault which contains the key to be created.
- KeyName
string
- The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
- Tags
Dictionary<string, string>
- The tags that will be assigned to the key.
- Properties
KeyPropertiesArgs
- The properties of the key to be created.
- ResourceGroupName
string
- The name of the resource group which contains the specified key vault.
- VaultName
string
- The name of the key vault which contains the key to be created.
- KeyName
string
- The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
- Tags
map[string]string
- The tags that will be assigned to the key.
- properties
object
- The properties of the key to be created.
- resource_group_name
string
- The name of the resource group which contains the specified key vault.
- vault_name
string
- The name of the key vault which contains the key to be created.
- key_name
string
- The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
- tags
map(string)
- The tags that will be assigned to the key.
- properties
KeyProperties
- The properties of the key to be created.
- resourceGroupName
String
- The name of the resource group which contains the specified key vault.
- vaultName
String
- The name of the key vault which contains the key to be created.
- keyName
String
- The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
- tags
Map<String,String>
- The tags that will be assigned to the key.
- properties
KeyProperties
- The properties of the key to be created.
- resourceGroupName
string
- The name of the resource group which contains the specified key vault.
- vaultName
string
- The name of the key vault which contains the key to be created.
- keyName
string
- The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
- tags
{[key: string]: string}
- The tags that will be assigned to the key.
- properties
KeyPropertiesArgs
- The properties of the key to be created.
- resource_group_name
str
- The name of the resource group which contains the specified key vault.
- vault_name
str
- The name of the key vault which contains the key to be created.
- key_name
str
- The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
- tags
Mapping[str, str]
- The tags that will be assigned to the key.
- properties
Property Map
- The properties of the key to be created.
- resourceGroupName
String
- The name of the resource group which contains the specified key vault.
- vaultName
String
- The name of the key vault which contains the key to be created.
- keyName
String
- The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
- tags
Map<String>
- The tags that will be assigned to the key.
Outputs
All input properties are implicitly available as output properties. Additionally, the Key resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- Id
string
- The provider-assigned unique ID for this managed resource.
- KeyUri
string
- The URI to retrieve the current version of the key.
- KeyUriWithVersion
string
- The URI to retrieve the specific version of the key.
- Location
string
- Azure location of the key vault resource.
- Name
string
- Name of the key vault resource.
- Type
string
- Resource type of the key vault resource.
- Attributes
KeyAttributesResponse
- The attributes of the key.
- CurveName
string
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- KeyOps
[]string
- KeySize
int
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- Kty
string
- The type of the key. For valid values, see JsonWebKeyType.
- ReleasePolicy
KeyReleasePolicyResponse
- Key release policy in response. It will be used for both output and input. Omitted if empty
- RotationPolicy
RotationPolicyResponse
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- azure_api_version
string
- The Azure API version of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- key_uri
string
- The URI to retrieve the current version of the key.
- key_uri_with_version
string
- The URI to retrieve the specific version of the key.
- location
string
- Azure location of the key vault resource.
- name
string
- Name of the key vault resource.
- type
string
- Resource type of the key vault resource.
- attributes
object
- The attributes of the key.
- curve_name
string
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- key_ops
list(string)
- key_size
number
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
string
- The type of the key. For valid values, see JsonWebKeyType.
- release_policy
object
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotation_policy
object
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- azureApiVersion
String
- The Azure API version of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- keyUri
String
- The URI to retrieve the current version of the key.
- keyUriWithVersion
String
- The URI to retrieve the specific version of the key.
- location
String
- Azure location of the key vault resource.
- name
String
- Name of the key vault resource.
- type
String
- Resource type of the key vault resource.
- attributes
KeyAttributesResponse
- The attributes of the key.
- curveName
String
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- keyOps
List<String>
- keySize
Integer
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
String
- The type of the key. For valid values, see JsonWebKeyType.
- releasePolicy
KeyReleasePolicyResponse
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotationPolicy
RotationPolicyResponse
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- azureApiVersion
string
- The Azure API version of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- keyUri
string
- The URI to retrieve the current version of the key.
- keyUriWithVersion
string
- The URI to retrieve the specific version of the key.
- location
string
- Azure location of the key vault resource.
- name
string
- Name of the key vault resource.
- type
string
- Resource type of the key vault resource.
- attributes
KeyAttributesResponse
- The attributes of the key.
- curveName
string
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- keyOps
string[]
- keySize
number
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
string
- The type of the key. For valid values, see JsonWebKeyType.
- releasePolicy
KeyReleasePolicyResponse
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotationPolicy
RotationPolicyResponse
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- azure_api_version
str
- The Azure API version of the resource.
- id
str
- The provider-assigned unique ID for this managed resource.
- key_uri
str
- The URI to retrieve the current version of the key.
- key_uri_with_version
str
- The URI to retrieve the specific version of the key.
- location
str
- Azure location of the key vault resource.
- name
str
- Name of the key vault resource.
- type
str
- Resource type of the key vault resource.
- attributes
KeyAttributesResponse
- The attributes of the key.
- curve_name
str
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- key_ops
Sequence[str]
- key_size
int
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
str
- The type of the key. For valid values, see JsonWebKeyType.
- release_policy
KeyReleasePolicyResponse
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotation_policy
RotationPolicyResponse
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- azureApiVersion
String
- The Azure API version of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- keyUri
String
- The URI to retrieve the current version of the key.
- keyUriWithVersion
String
- The URI to retrieve the specific version of the key.
- location
String
- Azure location of the key vault resource.
- name
String
- Name of the key vault resource.
- type
String
- Resource type of the key vault resource.
- attributes
Property Map
- The attributes of the key.
- curveName
String
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- keyOps
List<String>
- keySize
Number
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
String
- The type of the key. For valid values, see JsonWebKeyType.
- releasePolicy
Property Map
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotationPolicy
Property Map
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
Look up Existing Key Resource
Get an existing Key resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Key get(String name, Output<String> id, CustomResourceOptions options)
resources: existingKey: type: azure-native:keyvault:Key get: id: ${id}
import {
to = azure-native_keyvault_key.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
KeyState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Action, ActionArgs
ActionResponse
- Type
string
- The type of action.
- Type
string
- The type of action.
- type
string
- The type of action.
- type
String
- The type of action.
- type
string
- The type of action.
- type
str
- The type of action.
- type
String
- The type of action.
JsonWebKeyCurveName
The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
| Name | Value |
|---|
| P_256 | P-256 |
| P_384 | P-384 |
| P_521 | P-521 |
| P_256K | P-256K |
| Name | Value |
|---|
| JsonWebKeyCurveName_P_256 | P-256 |
| JsonWebKeyCurveName_P_384 | P-384 |
| JsonWebKeyCurveName_P_521 | P-521 |
| JsonWebKeyCurveName_P_256K | P-256K |
| Value |
|---|
P-256 |
P-384 |
P-521 |
P-256K |
| Name | Value |
|---|
| P256 | P-256 |
| P384 | P-384 |
| P521 | P-521 |
| P256K | P-256K |
| Name | Value |
|---|
| P_256 | P-256 |
| P_384 | P-384 |
| P_521 | P-521 |
| P_256K | P-256K |
| Name | Value |
|---|
| P_256 | P-256 |
| P_384 | P-384 |
| P_521 | P-521 |
| P_256_K | P-256K |
| Value |
|---|
P-256 |
P-384 |
P-521 |
P-256K |
JsonWebKeyOperation
The permitted JSON web key operations of the key. For more information, see JsonWebKeyOperation.
| Name | Value |
|---|
| Encrypt | encrypt |
| Decrypt | decrypt |
| Sign | sign |
| Verify | verify |
| WrapKey | wrapKey |
| UnwrapKey | unwrapKey |
| Import | import |
| Release | release |
| Name | Value |
|---|
| JsonWebKeyOperationEncrypt | encrypt |
| JsonWebKeyOperationDecrypt | decrypt |
| JsonWebKeyOperationSign | sign |
| JsonWebKeyOperationVerify | verify |
| JsonWebKeyOperationWrapKey | wrapKey |
| JsonWebKeyOperationUnwrapKey | unwrapKey |
| JsonWebKeyOperationImport | import |
| JsonWebKeyOperationRelease | release |
| Value |
|---|
encrypt |
decrypt |
sign |
verify |
wrapKey |
unwrapKey |
import |
release |
| Name | Value |
|---|
| Encrypt | encrypt |
| Decrypt | decrypt |
| Sign | sign |
| Verify | verify |
| WrapKey | wrapKey |
| UnwrapKey | unwrapKey |
| Import_ | import |
| Release | release |
| Name | Value |
|---|
| Encrypt | encrypt |
| Decrypt | decrypt |
| Sign | sign |
| Verify | verify |
| WrapKey | wrapKey |
| UnwrapKey | unwrapKey |
| Import | import |
| Release | release |
| Name | Value |
|---|
| ENCRYPT | encrypt |
| DECRYPT | decrypt |
| SIGN | sign |
| VERIFY | verify |
| WRAP_KEY | wrapKey |
| UNWRAP_KEY | unwrapKey |
| IMPORT_ | import |
| RELEASE | release |
| Value |
|---|
encrypt |
decrypt |
sign |
verify |
wrapKey |
unwrapKey |
import |
release |
JsonWebKeyType
The type of the key. For valid values, see JsonWebKeyType.
| Name | Value |
|---|
| EC | EC |
| EC_HSM | EC-HSM |
| RSA | RSA |
| RSA_HSM | RSA-HSM |
| Name | Value |
|---|
| JsonWebKeyTypeEC | EC |
| JsonWebKeyType_EC_HSM | EC-HSM |
| JsonWebKeyTypeRSA | RSA |
| JsonWebKeyType_RSA_HSM | RSA-HSM |
| Name | Value |
|---|
| EC | EC |
| ECHSM | EC-HSM |
| RSA | RSA |
| RSAHSM | RSA-HSM |
| Name | Value |
|---|
| EC | EC |
| EC_HSM | EC-HSM |
| RSA | RSA |
| RSA_HSM | RSA-HSM |
| Name | Value |
|---|
| EC | EC |
| E_C_HSM | EC-HSM |
| RSA | RSA |
| RS_A_HSM | RSA-HSM |
KeyAttributes, KeyAttributesArgs
The object attributes managed by the Azure Key Vault service.
- Enabled
bool
- Determines whether or not the object is enabled.
- Expires
double
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- Exportable
bool
- Indicates if the private key can be exported.
- NotBefore
double
- Not before date in seconds since 1970-01-01T00:00:00Z.
- Enabled
bool
- Determines whether or not the object is enabled.
- Expires
float64
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- Exportable
bool
- Indicates if the private key can be exported.
- NotBefore
float64
- Not before date in seconds since 1970-01-01T00:00:00Z.
- enabled
bool
- Determines whether or not the object is enabled.
- expires
number
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
bool
- Indicates if the private key can be exported.
- not_before
number
- Not before date in seconds since 1970-01-01T00:00:00Z.
- enabled
Boolean
- Determines whether or not the object is enabled.
- expires
Double
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
Boolean
- Indicates if the private key can be exported.
- notBefore
Double
- Not before date in seconds since 1970-01-01T00:00:00Z.
- enabled
boolean
- Determines whether or not the object is enabled.
- expires
number
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
boolean
- Indicates if the private key can be exported.
- notBefore
number
- Not before date in seconds since 1970-01-01T00:00:00Z.
- enabled
bool
- Determines whether or not the object is enabled.
- expires
float
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
bool
- Indicates if the private key can be exported.
- not_before
float
- Not before date in seconds since 1970-01-01T00:00:00Z.
- enabled
Boolean
- Determines whether or not the object is enabled.
- expires
Number
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
Boolean
- Indicates if the private key can be exported.
- notBefore
Number
- Not before date in seconds since 1970-01-01T00:00:00Z.
KeyAttributesResponse
The object attributes managed by the Azure Key Vault service.
- Created
double
- Creation time in seconds since 1970-01-01T00:00:00Z.
- RecoveryLevel
string
- The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
- Updated
double
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- Enabled
bool
- Determines whether or not the object is enabled.
- Expires
double
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- Exportable
bool
- Indicates if the private key can be exported.
- NotBefore
double
- Not before date in seconds since 1970-01-01T00:00:00Z.
- Created
float64
- Creation time in seconds since 1970-01-01T00:00:00Z.
- RecoveryLevel
string
- The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
- Updated
float64
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- Enabled
bool
- Determines whether or not the object is enabled.
- Expires
float64
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- Exportable
bool
- Indicates if the private key can be exported.
- NotBefore
float64
- Not before date in seconds since 1970-01-01T00:00:00Z.
- created
number
- Creation time in seconds since 1970-01-01T00:00:00Z.
- recovery_level
string
- The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
- updated
number
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- enabled
bool
- Determines whether or not the object is enabled.
- expires
number
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
bool
- Indicates if the private key can be exported.
- not_before
number
- Not before date in seconds since 1970-01-01T00:00:00Z.
- created
Double
- Creation time in seconds since 1970-01-01T00:00:00Z.
- recoveryLevel
String
- The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
- updated
Double
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- enabled
Boolean
- Determines whether or not the object is enabled.
- expires
Double
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
Boolean
- Indicates if the private key can be exported.
- notBefore
Double
- Not before date in seconds since 1970-01-01T00:00:00Z.
- created
number
- Creation time in seconds since 1970-01-01T00:00:00Z.
- recoveryLevel
string
- The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
- updated
number
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- enabled
boolean
- Determines whether or not the object is enabled.
- expires
number
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
boolean
- Indicates if the private key can be exported.
- notBefore
number
- Not before date in seconds since 1970-01-01T00:00:00Z.
- created
float
- Creation time in seconds since 1970-01-01T00:00:00Z.
- recovery_level
str
- The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
- updated
float
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- enabled
bool
- Determines whether or not the object is enabled.
- expires
float
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
bool
- Indicates if the private key can be exported.
- not_before
float
- Not before date in seconds since 1970-01-01T00:00:00Z.
- created
Number
- Creation time in seconds since 1970-01-01T00:00:00Z.
- recoveryLevel
String
- The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
- updated
Number
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- enabled
Boolean
- Determines whether or not the object is enabled.
- expires
Number
- Expiry date in seconds since 1970-01-01T00:00:00Z.
- exportable
Boolean
- Indicates if the private key can be exported.
- notBefore
Number
- Not before date in seconds since 1970-01-01T00:00:00Z.
KeyProperties, KeyPropertiesArgs
The properties of the key.
- Attributes
KeyAttributes
- The attributes of the key.
- CurveName
string | JsonWebKeyCurveName
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- KeyOps
[]string
- KeySize
int
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- Kty
string | JsonWebKeyType
- The type of the key. For valid values, see JsonWebKeyType.
- ReleasePolicy
KeyReleasePolicy
- Key release policy in response. It will be used for both output and input. Omitted if empty
- RotationPolicy
RotationPolicy
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- attributes
object
- The attributes of the key.
- curve_name
string | "P-256" | "P-384" | "P-521" | "P-256K"
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- key_ops
list(string | "encrypt" | "decrypt" | "sign" | "verify" | "wrapKey" | "unwrapKey" | "import" | "release")
- key_size
number
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
string | "EC" | "EC-HSM" | "RSA" | "RSA-HSM"
- The type of the key. For valid values, see JsonWebKeyType.
- release_policy
object
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotation_policy
object
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- attributes
KeyAttributes
- The attributes of the key.
- curveName
String | JsonWebKeyCurveName
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- keyOps
List<Either<String,JsonWebKeyOperation>>
- keySize
Integer
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
String | JsonWebKeyType
- The type of the key. For valid values, see JsonWebKeyType.
- releasePolicy
KeyReleasePolicy
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotationPolicy
RotationPolicy
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- attributes
KeyAttributes
- The attributes of the key.
- curveName
string | JsonWebKeyCurveName
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- keyOps
(string | JsonWebKeyOperation)[]
- keySize
number
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
string | JsonWebKeyType
- The type of the key. For valid values, see JsonWebKeyType.
- releasePolicy
KeyReleasePolicy
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotationPolicy
RotationPolicy
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- attributes
KeyAttributes
- The attributes of the key.
- curve_name
str | JsonWebKeyCurveName
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- key_ops
Sequence[Union[str, JsonWebKeyOperation]]
- key_size
int
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
str | JsonWebKeyType
- The type of the key. For valid values, see JsonWebKeyType.
- release_policy
KeyReleasePolicy
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotation_policy
RotationPolicy
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
- attributes
Property Map
- The attributes of the key.
- curveName
String | "P-256" | "P-384" | "P-521" | "P-256K"
- The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
- keyOps
List<String | "encrypt" | "decrypt" | "sign" | "verify" | "wrapKey" | "unwrapKey" | "import" | "release">
- keySize
Number
- The key size in bits. For example: 2048, 3072, or 4096 for RSA. Default for RSA and RSA-HSM keys is 2048. Exception made for bring your own key (BYOK), key exchange keys default to 4096.
- kty
String | "EC" | "EC-HSM" | "RSA" | "RSA-HSM"
- The type of the key. For valid values, see JsonWebKeyType.
- releasePolicy
Property Map
- Key release policy in response. It will be used for both output and input. Omitted if empty
- rotationPolicy
Property Map
- Key rotation policy in response. It will be used for both output and input. Omitted if empty
KeyReleasePolicy, KeyReleasePolicyArgs
- ContentType
string
- Content type and version of key release policy
- Data
string
- Blob encoding the policy rules under which the key can be released.
- ContentType
string
- Content type and version of key release policy
- Data
string
- Blob encoding the policy rules under which the key can be released.
- content_type
string
- Content type and version of key release policy
- data
string
- Blob encoding the policy rules under which the key can be released.
- contentType
String
- Content type and version of key release policy
- data
String
- Blob encoding the policy rules under which the key can be released.
- contentType
string
- Content type and version of key release policy
- data
string
- Blob encoding the policy rules under which the key can be released.
- content_type
str
- Content type and version of key release policy
- data
str
- Blob encoding the policy rules under which the key can be released.
- contentType
String
- Content type and version of key release policy
- data
String
- Blob encoding the policy rules under which the key can be released.
KeyReleasePolicyResponse
- ContentType
string
- Content type and version of key release policy
- Data
string
- Blob encoding the policy rules under which the key can be released.
- ContentType
string
- Content type and version of key release policy
- Data
string
- Blob encoding the policy rules under which the key can be released.
- content_type
string
- Content type and version of key release policy
- data
string
- Blob encoding the policy rules under which the key can be released.
- contentType
String
- Content type and version of key release policy
- data
String
- Blob encoding the policy rules under which the key can be released.
- contentType
string
- Content type and version of key release policy
- data
string
- Blob encoding the policy rules under which the key can be released.
- content_type
str
- Content type and version of key release policy
- data
str
- Blob encoding the policy rules under which the key can be released.
- contentType
String
- Content type and version of key release policy
- data
String
- Blob encoding the policy rules under which the key can be released.
KeyRotationPolicyActionType
The type of action.
| Name | Value |
|---|
| Rotate | rotate |
| Notify | notify |
| Name | Value |
|---|
| KeyRotationPolicyActionTypeRotate | rotate |
| KeyRotationPolicyActionTypeNotify | notify |
| Name | Value |
|---|
| Rotate | rotate |
| Notify | notify |
| Name | Value |
|---|
| Rotate | rotate |
| Notify | notify |
| Name | Value |
|---|
| ROTATE | rotate |
| NOTIFY | notify |
KeyRotationPolicyAttributes, KeyRotationPolicyAttributesArgs
- ExpiryTime
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- ExpiryTime
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- expiry_time
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- expiryTime
String
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- expiryTime
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- expiry_time
str
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- expiryTime
String
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
KeyRotationPolicyAttributesResponse
- Created
double
- Creation time in seconds since 1970-01-01T00:00:00Z.
- Updated
double
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- ExpiryTime
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- Created
float64
- Creation time in seconds since 1970-01-01T00:00:00Z.
- Updated
float64
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- ExpiryTime
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- created
number
- Creation time in seconds since 1970-01-01T00:00:00Z.
- updated
number
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- expiry_time
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- created
Double
- Creation time in seconds since 1970-01-01T00:00:00Z.
- updated
Double
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- expiryTime
String
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- created
number
- Creation time in seconds since 1970-01-01T00:00:00Z.
- updated
number
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- expiryTime
string
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- created
float
- Creation time in seconds since 1970-01-01T00:00:00Z.
- updated
float
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- expiry_time
str
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
- created
Number
- Creation time in seconds since 1970-01-01T00:00:00Z.
- updated
Number
- Last updated time in seconds since 1970-01-01T00:00:00Z.
- expiryTime
String
- The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'.
LifetimeAction, LifetimeActionArgs
- action
object
- The action of key rotation policy lifetimeAction.
- trigger
object
- The trigger of key rotation policy lifetimeAction.
LifetimeActionResponse
- action
object
- The action of key rotation policy lifetimeAction.
- trigger
object
- The trigger of key rotation policy lifetimeAction.
RotationPolicy, RotationPolicyArgs
RotationPolicyResponse
Trigger, TriggerArgs
- TimeAfterCreate
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- TimeBeforeExpiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- TimeAfterCreate
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- TimeBeforeExpiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_after_create
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_before_expiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeAfterCreate
String
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeBeforeExpiry
String
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeAfterCreate
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeBeforeExpiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_after_create
str
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_before_expiry
str
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeAfterCreate
String
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeBeforeExpiry
String
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
TriggerResponse
- TimeAfterCreate
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- TimeBeforeExpiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- TimeAfterCreate
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- TimeBeforeExpiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_after_create
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_before_expiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeAfterCreate
String
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeBeforeExpiry
String
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeAfterCreate
string
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeBeforeExpiry
string
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_after_create
str
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- time_before_expiry
str
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeAfterCreate
String
- The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
- timeBeforeExpiry
String
- The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:keyvault:Key sample-key-name /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0