< Back
New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential
Post
NAME New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential
SYNOPSIS
Encrypt credential in linked service with specified integration runtime.
SYNTAX
New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential [-DataFactory] <PSDataFactory> [-IntegrationRuntimeName] <String> [-DefinitionFile]
<String> [-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential [-ResourceGroupName] <String> [-DataFactoryName] <String> [-IntegrationRuntimeName]
<String> [-DefinitionFile] <String> [-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmDataFactoryV2LinkedServiceEncryptCredential cmdlet encrypt credential in linked service with specified integration runtime.
PARAMETERS
-DataFactory <PSDataFactory>
The data factory object.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DataFactoryName <String>
The data factory name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefinitionFile <String>
The JSON file path.
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Runs the cmdlet without prompting for confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-IntegrationRuntimeName <String>
The integration runtime name.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
The resource group name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what happens if the cmdlet runs, but doesn't run the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory
OUTPUTS
System.String
NOTES
Example 1: Encrypt creadentials in a linked service
PS C:\\> New-AzureRmDataFactoryV2LinkedServiceEncryptCredential -ResourceGroupName resourceGroup -DataFactoryName myDataFactory
-IntegrationRuntimeName myIR -File D:\\sql.json
This command encrypts credential in file D:\\sql.json with the integration runtime named myIR.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... credential
SYNOPSIS
Encrypt credential in linked service with specified integration runtime.
SYNTAX
New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential [-DataFactory] <PSDataFactory> [-IntegrationRuntimeName] <String> [-DefinitionFile]
<String> [-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential [-ResourceGroupName] <String> [-DataFactoryName] <String> [-IntegrationRuntimeName]
<String> [-DefinitionFile] <String> [-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmDataFactoryV2LinkedServiceEncryptCredential cmdlet encrypt credential in linked service with specified integration runtime.
PARAMETERS
-DataFactory <PSDataFactory>
The data factory object.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DataFactoryName <String>
The data factory name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefinitionFile <String>
The JSON file path.
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Runs the cmdlet without prompting for confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-IntegrationRuntimeName <String>
The integration runtime name.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
The resource group name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what happens if the cmdlet runs, but doesn't run the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory
OUTPUTS
System.String
NOTES
Example 1: Encrypt creadentials in a linked service
PS C:\\> New-AzureRmDataFactoryV2LinkedServiceEncryptCredential -ResourceGroupName resourceGroup -DataFactoryName myDataFactory
-IntegrationRuntimeName myIR -File D:\\sql.json
This command encrypts credential in file D:\\sql.json with the integration runtime named myIR.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... credential