Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

StorageAccountCredential

The storage account credential. API Version: 2017-06-01.

Example Usage

StorageAccountCredentialsCreateOrUpdate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var storageAccountCredential = new AzureNative.StorSimple.StorageAccountCredential("storageAccountCredential", new AzureNative.StorSimple.StorageAccountCredentialArgs
        {
            AccessKey = new AzureNative.StorSimple.Inputs.AsymmetricEncryptedSecretArgs
            {
                EncryptionAlgorithm = AzureNative.StorSimple.EncryptionAlgorithm.RSAES_PKCS1_v_1_5,
                EncryptionCertThumbprint = "A872A2DF196AC7682EE24791E7DE2E2A360F5926",
                Value = "ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==",
            },
            EndPoint = "blob.core.windows.net",
            ManagerName = "ManagerForSDKTest1",
            ResourceGroupName = "ResourceGroupForSDKTest",
            SslStatus = AzureNative.StorSimple.SslStatus.Enabled,
            StorageAccountCredentialName = "SACForTest",
        });
    }

}
package main

import (
	storsimple "github.com/pulumi/pulumi-azure-native/sdk/go/azure/storsimple"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storsimple.NewStorageAccountCredential(ctx, "storageAccountCredential", &storsimple.StorageAccountCredentialArgs{
			AccessKey: &storsimple.AsymmetricEncryptedSecretArgs{
				EncryptionAlgorithm:      storsimple.EncryptionAlgorithm_RSAES_PKCS1_v_1_5,
				EncryptionCertThumbprint: pulumi.String("A872A2DF196AC7682EE24791E7DE2E2A360F5926"),
				Value:                    pulumi.String("ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q=="),
			},
			EndPoint:                     pulumi.String("blob.core.windows.net"),
			ManagerName:                  pulumi.String("ManagerForSDKTest1"),
			ResourceGroupName:            pulumi.String("ResourceGroupForSDKTest"),
			SslStatus:                    storsimple.SslStatusEnabled,
			StorageAccountCredentialName: pulumi.String("SACForTest"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var storageAccountCredential = new StorageAccountCredential("storageAccountCredential", StorageAccountCredentialArgs.builder()        
            .accessKey(Map.ofEntries(
                Map.entry("encryptionAlgorithm", "RSAES_PKCS1_v_1_5"),
                Map.entry("encryptionCertThumbprint", "A872A2DF196AC7682EE24791E7DE2E2A360F5926"),
                Map.entry("value", "ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==")
            ))
            .endPoint("blob.core.windows.net")
            .managerName("ManagerForSDKTest1")
            .resourceGroupName("ResourceGroupForSDKTest")
            .sslStatus("Enabled")
            .storageAccountCredentialName("SACForTest")
            .build());

        }
}
import pulumi
import pulumi_azure_native as azure_native

storage_account_credential = azure_native.storsimple.StorageAccountCredential("storageAccountCredential",
    access_key=azure_native.storsimple.AsymmetricEncryptedSecretArgs(
        encryption_algorithm=azure_native.storsimple.EncryptionAlgorithm.RSAE_S_PKCS1_V_1_5,
        encryption_cert_thumbprint="A872A2DF196AC7682EE24791E7DE2E2A360F5926",
        value="ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==",
    ),
    end_point="blob.core.windows.net",
    manager_name="ManagerForSDKTest1",
    resource_group_name="ResourceGroupForSDKTest",
    ssl_status=azure_native.storsimple.SslStatus.ENABLED,
    storage_account_credential_name="SACForTest")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const storageAccountCredential = new azure_native.storsimple.StorageAccountCredential("storageAccountCredential", {
    accessKey: {
        encryptionAlgorithm: azure_native.storsimple.EncryptionAlgorithm.RSAES_PKCS1_v_1_5,
        encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926",
        value: "ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==",
    },
    endPoint: "blob.core.windows.net",
    managerName: "ManagerForSDKTest1",
    resourceGroupName: "ResourceGroupForSDKTest",
    sslStatus: azure_native.storsimple.SslStatus.Enabled,
    storageAccountCredentialName: "SACForTest",
});
resources:
  storageAccountCredential:
    type: azure-native:storsimple:StorageAccountCredential
    properties:
      accessKey:
        encryptionAlgorithm: RSAES_PKCS1_v_1_5
        encryptionCertThumbprint: A872A2DF196AC7682EE24791E7DE2E2A360F5926
        value: ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==
      endPoint: blob.core.windows.net
      managerName: ManagerForSDKTest1
      resourceGroupName: ResourceGroupForSDKTest
      sslStatus: Enabled
      storageAccountCredentialName: SACForTest

Create a StorageAccountCredential Resource

new StorageAccountCredential(name: string, args: StorageAccountCredentialArgs, opts?: CustomResourceOptions);
@overload
def StorageAccountCredential(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             access_key: Optional[AsymmetricEncryptedSecretArgs] = None,
                             end_point: Optional[str] = None,
                             kind: Optional[Kind] = None,
                             manager_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             ssl_status: Optional[SslStatus] = None,
                             storage_account_credential_name: Optional[str] = None)
@overload
def StorageAccountCredential(resource_name: str,
                             args: StorageAccountCredentialArgs,
                             opts: Optional[ResourceOptions] = None)
func NewStorageAccountCredential(ctx *Context, name string, args StorageAccountCredentialArgs, opts ...ResourceOption) (*StorageAccountCredential, error)
public StorageAccountCredential(string name, StorageAccountCredentialArgs args, CustomResourceOptions? opts = null)
public StorageAccountCredential(String name, StorageAccountCredentialArgs args)
public StorageAccountCredential(String name, StorageAccountCredentialArgs args, CustomResourceOptions options)
type: azure-native:storsimple:StorageAccountCredential
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args StorageAccountCredentialArgs
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 StorageAccountCredentialArgs
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 StorageAccountCredentialArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args StorageAccountCredentialArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args StorageAccountCredentialArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

StorageAccountCredential 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 StorageAccountCredential resource accepts the following input properties:

EndPoint string

The storage endpoint

ManagerName string

The manager name

ResourceGroupName string

The resource group name

SslStatus Pulumi.AzureNative.StorSimple.SslStatus

Signifies whether SSL needs to be enabled or not.

AccessKey Pulumi.AzureNative.StorSimple.Inputs.AsymmetricEncryptedSecretArgs

The details of the storage account password.

Kind Pulumi.AzureNative.StorSimple.Kind

The Kind of the object. Currently only Series8000 is supported

StorageAccountCredentialName string

The storage account credential name.

EndPoint string

The storage endpoint

ManagerName string

The manager name

ResourceGroupName string

The resource group name

SslStatus SslStatus

Signifies whether SSL needs to be enabled or not.

AccessKey AsymmetricEncryptedSecretArgs

The details of the storage account password.

Kind Kind

The Kind of the object. Currently only Series8000 is supported

StorageAccountCredentialName string

The storage account credential name.

endPoint String

The storage endpoint

managerName String

The manager name

resourceGroupName String

The resource group name

sslStatus SslStatus

Signifies whether SSL needs to be enabled or not.

accessKey AsymmetricEncryptedSecretArgs

The details of the storage account password.

kind Kind

The Kind of the object. Currently only Series8000 is supported

storageAccountCredentialName String

The storage account credential name.

endPoint string

The storage endpoint

managerName string

The manager name

resourceGroupName string

The resource group name

sslStatus SslStatus

Signifies whether SSL needs to be enabled or not.

accessKey AsymmetricEncryptedSecretArgs

The details of the storage account password.

kind Kind

The Kind of the object. Currently only Series8000 is supported

storageAccountCredentialName string

The storage account credential name.

end_point str

The storage endpoint

manager_name str

The manager name

resource_group_name str

The resource group name

ssl_status SslStatus

Signifies whether SSL needs to be enabled or not.

access_key AsymmetricEncryptedSecretArgs

The details of the storage account password.

kind Kind

The Kind of the object. Currently only Series8000 is supported

storage_account_credential_name str

The storage account credential name.

endPoint String

The storage endpoint

managerName String

The manager name

resourceGroupName String

The resource group name

sslStatus "Enabled" | "Disabled"

Signifies whether SSL needs to be enabled or not.

accessKey Property Map

The details of the storage account password.

kind "Series8000"

The Kind of the object. Currently only Series8000 is supported

storageAccountCredentialName String

The storage account credential name.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the object.

Type string

The hierarchical type of the object.

VolumesCount int

The count of volumes using this storage account credential.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the object.

Type string

The hierarchical type of the object.

VolumesCount int

The count of volumes using this storage account credential.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the object.

type String

The hierarchical type of the object.

volumesCount Integer

The count of volumes using this storage account credential.

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the object.

type string

The hierarchical type of the object.

volumesCount number

The count of volumes using this storage account credential.

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the object.

type str

The hierarchical type of the object.

volumes_count int

The count of volumes using this storage account credential.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the object.

type String

The hierarchical type of the object.

volumesCount Number

The count of volumes using this storage account credential.

Supporting Types

AsymmetricEncryptedSecret

EncryptionAlgorithm Pulumi.AzureNative.StorSimple.EncryptionAlgorithm

The algorithm used to encrypt "Value".

Value string

The value of the secret.

EncryptionCertThumbprint string

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

EncryptionAlgorithm EncryptionAlgorithm

The algorithm used to encrypt "Value".

Value string

The value of the secret.

EncryptionCertThumbprint string

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryptionAlgorithm EncryptionAlgorithm

The algorithm used to encrypt "Value".

value String

The value of the secret.

encryptionCertThumbprint String

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryptionAlgorithm EncryptionAlgorithm

The algorithm used to encrypt "Value".

value string

The value of the secret.

encryptionCertThumbprint string

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryption_algorithm EncryptionAlgorithm

The algorithm used to encrypt "Value".

value str

The value of the secret.

encryption_cert_thumbprint str

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryptionAlgorithm "None" | "AES256" | "RSAES_PKCS1_v_1_5"

The algorithm used to encrypt "Value".

value String

The value of the secret.

encryptionCertThumbprint String

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

AsymmetricEncryptedSecretResponse

EncryptionAlgorithm string

The algorithm used to encrypt "Value".

Value string

The value of the secret.

EncryptionCertThumbprint string

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

EncryptionAlgorithm string

The algorithm used to encrypt "Value".

Value string

The value of the secret.

EncryptionCertThumbprint string

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryptionAlgorithm String

The algorithm used to encrypt "Value".

value String

The value of the secret.

encryptionCertThumbprint String

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryptionAlgorithm string

The algorithm used to encrypt "Value".

value string

The value of the secret.

encryptionCertThumbprint string

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryption_algorithm str

The algorithm used to encrypt "Value".

value str

The value of the secret.

encryption_cert_thumbprint str

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

encryptionAlgorithm String

The algorithm used to encrypt "Value".

value String

The value of the secret.

encryptionCertThumbprint String

Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.

EncryptionAlgorithm

None
None
AES256
AES256
RSAES_PKCS1_v_1_5
RSAES_PKCS1_v_1_5
EncryptionAlgorithmNone
None
EncryptionAlgorithmAES256
AES256
EncryptionAlgorithm_RSAES_PKCS1_v_1_5
RSAES_PKCS1_v_1_5
None
None
AES256
AES256
RSAES_PKCS1_v_1_5
RSAES_PKCS1_v_1_5
None
None
AES256
AES256
RSAES_PKCS1_v_1_5
RSAES_PKCS1_v_1_5
NONE
None
AES256
AES256
RSAE_S_PKCS1_V_1_5
RSAES_PKCS1_v_1_5
"None"
None
"AES256"
AES256
"RSAES_PKCS1_v_1_5"
RSAES_PKCS1_v_1_5

Kind

Series8000
Series8000
KindSeries8000
Series8000
Series8000
Series8000
Series8000
Series8000
SERIES8000
Series8000
"Series8000"
Series8000

SslStatus

Enabled
Enabled
Disabled
Disabled
SslStatusEnabled
Enabled
SslStatusDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storsimple:StorageAccountCredential SACForTest /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/SACForTest 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0