azure-native.media.getAssetEncryptionKey
Explore with Pulumi AI
Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API
Uses Azure REST API version 2023-01-01.
Other available API versions: 2018-03-30-preview, 2018-06-01-preview, 2018-07-01, 2020-05-01, 2021-06-01, 2021-11-01, 2022-08-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native media [ApiVersion]. See the version guide for details.
Using getAssetEncryptionKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAssetEncryptionKey(args: GetAssetEncryptionKeyArgs, opts?: InvokeOptions): Promise<GetAssetEncryptionKeyResult>
function getAssetEncryptionKeyOutput(args: GetAssetEncryptionKeyOutputArgs, opts?: InvokeOptions): Output<GetAssetEncryptionKeyResult>def get_asset_encryption_key(account_name: Optional[str] = None,
                             asset_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAssetEncryptionKeyResult
def get_asset_encryption_key_output(account_name: Optional[pulumi.Input[str]] = None,
                             asset_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAssetEncryptionKeyResult]func GetAssetEncryptionKey(ctx *Context, args *GetAssetEncryptionKeyArgs, opts ...InvokeOption) (*GetAssetEncryptionKeyResult, error)
func GetAssetEncryptionKeyOutput(ctx *Context, args *GetAssetEncryptionKeyOutputArgs, opts ...InvokeOption) GetAssetEncryptionKeyResultOutput> Note: This function is named GetAssetEncryptionKey in the Go SDK.
public static class GetAssetEncryptionKey 
{
    public static Task<GetAssetEncryptionKeyResult> InvokeAsync(GetAssetEncryptionKeyArgs args, InvokeOptions? opts = null)
    public static Output<GetAssetEncryptionKeyResult> Invoke(GetAssetEncryptionKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAssetEncryptionKeyResult> getAssetEncryptionKey(GetAssetEncryptionKeyArgs args, InvokeOptions options)
public static Output<GetAssetEncryptionKeyResult> getAssetEncryptionKey(GetAssetEncryptionKeyArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:media:getAssetEncryptionKey
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Account
Name string - The Media Services account name.
 - Asset
Name string - The Asset name.
 - Resource
Group stringName  - The name of the resource group within the Azure subscription.
 
- Account
Name string - The Media Services account name.
 - Asset
Name string - The Asset name.
 - Resource
Group stringName  - The name of the resource group within the Azure subscription.
 
- account
Name String - The Media Services account name.
 - asset
Name String - The Asset name.
 - resource
Group StringName  - The name of the resource group within the Azure subscription.
 
- account
Name string - The Media Services account name.
 - asset
Name string - The Asset name.
 - resource
Group stringName  - The name of the resource group within the Azure subscription.
 
- account_
name str - The Media Services account name.
 - asset_
name str - The Asset name.
 - resource_
group_ strname  - The name of the resource group within the Azure subscription.
 
- account
Name String - The Media Services account name.
 - asset
Name String - The Asset name.
 - resource
Group StringName  - The name of the resource group within the Azure subscription.
 
getAssetEncryptionKey Result
The following output properties are available:
- Asset
File List<Pulumi.Encryption Metadata Azure Native. Media. Outputs. Asset File Encryption Metadata Response>  - Asset File encryption metadata.
 - Key string
 - The Asset File storage encryption key.
 
- Asset
File []AssetEncryption Metadata File Encryption Metadata Response  - Asset File encryption metadata.
 - Key string
 - The Asset File storage encryption key.
 
- asset
File List<AssetEncryption Metadata File Encryption Metadata Response>  - Asset File encryption metadata.
 - key String
 - The Asset File storage encryption key.
 
- asset
File AssetEncryption Metadata File Encryption Metadata Response[]  - Asset File encryption metadata.
 - key string
 - The Asset File storage encryption key.
 
- asset_
file_ Sequence[Assetencryption_ metadata File Encryption Metadata Response]  - Asset File encryption metadata.
 - key str
 - The Asset File storage encryption key.
 
- asset
File List<Property Map>Encryption Metadata  - Asset File encryption metadata.
 - key String
 - The Asset File storage encryption key.
 
Supporting Types
AssetFileEncryptionMetadataResponse    
- Asset
File stringId  - The Asset File Id.
 - Asset
File stringName  - The Asset File name.
 - Initialization
Vector string - The Asset File initialization vector.
 
- Asset
File stringId  - The Asset File Id.
 - Asset
File stringName  - The Asset File name.
 - Initialization
Vector string - The Asset File initialization vector.
 
- asset
File StringId  - The Asset File Id.
 - asset
File StringName  - The Asset File name.
 - initialization
Vector String - The Asset File initialization vector.
 
- asset
File stringId  - The Asset File Id.
 - asset
File stringName  - The Asset File name.
 - initialization
Vector string - The Asset File initialization vector.
 
- asset_
file_ strid  - The Asset File Id.
 - asset_
file_ strname  - The Asset File name.
 - initialization_
vector str - The Asset File initialization vector.
 
- asset
File StringId  - The Asset File Id.
 - asset
File StringName  - The Asset File name.
 - initialization
Vector String - The Asset File initialization vector.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0