Skip to content

Commit

Permalink
adding managed identity to import export
Browse files Browse the repository at this point in the history
  • Loading branch information
debalinaroy committed Dec 17, 2024
1 parent 77fea8a commit 3731952
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/Sql/Sql/ImportExport/Model/AuthenticationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public enum AuthenticationType
{
None,
Sql,
AdPassword
AdPassword,
ManagedIdentity
}
}
3 changes: 2 additions & 1 deletion src/Sql/Sql/ImportExport/Model/StorageKeyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.Sql.ImportExport.Model
public enum StorageKeyType
{
StorageAccessKey,
SharedAccessKey
SharedAccessKey,
ManagedIdentity
}
}
4 changes: 2 additions & 2 deletions src/Sql/Sql/help/New-AzSqlDatabaseExport.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ This parameter is only available on SQL Database V12 servers.
Type: Microsoft.Azure.Commands.Sql.ImportExport.Model.AuthenticationType
Parameter Sets: (All)
Aliases:
Accepted values: None, Sql, AdPassword
Accepted values: None, Sql, AdPassword, ManagedIdentity

Required: False
Position: Named
Expand Down Expand Up @@ -229,7 +229,7 @@ This value uses a Shared Access Signature (SAS) key.
Type: Microsoft.Azure.Commands.Sql.ImportExport.Model.StorageKeyType
Parameter Sets: (All)
Aliases:
Accepted values: StorageAccessKey, SharedAccessKey
Accepted values: StorageAccessKey, SharedAccessKey, ManagedIdentity

Required: True
Position: Named
Expand Down
4 changes: 2 additions & 2 deletions src/Sql/Sql/help/New-AzSqlDatabaseImport.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ This parameter is only available on SQL Database V12 servers.
Type: Microsoft.Azure.Commands.Sql.ImportExport.Model.AuthenticationType
Parameter Sets: (All)
Aliases:
Accepted values: None, Sql, AdPassword
Accepted values: None, Sql, AdPassword, ManagedIdentity

Required: False
Position: Named
Expand Down Expand Up @@ -288,7 +288,7 @@ Uses the Shared Access Signature (SAS) key.
Type: Microsoft.Azure.Commands.Sql.ImportExport.Model.StorageKeyType
Parameter Sets: (All)
Aliases:
Accepted values: StorageAccessKey, SharedAccessKey
Accepted values: StorageAccessKey, SharedAccessKey, ManagedIdentity

Required: True
Position: Named
Expand Down

0 comments on commit 3731952

Please sign in to comment.