Skip to content

Commit 96c4fc0

Browse files
committed
Update documentation for SecureString passwords
1 parent 42539c4 commit 96c4fc0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/ResourceManager/AzureBatch/Commands.Batch/help/New-AzureBatchCertificate.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Adds a certificate to the specified Batch account.
1414

1515
### File (Default)
1616
```
17-
New-AzureBatchCertificate [-FilePath] <String> [-Password <String>] -BatchContext <BatchAccountContext>
17+
New-AzureBatchCertificate [-FilePath] <String> [-Password <SecureString>] -BatchContext <BatchAccountContext>
1818
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1919
```
2020

2121
### RawData
2222
```
23-
New-AzureBatchCertificate [-RawData] <Byte[]> [-Password <String>] -BatchContext <BatchAccountContext>
23+
New-AzureBatchCertificate [-RawData] <Byte[]> [-Password <SecureString>] -BatchContext <BatchAccountContext>
2424
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2525
```
2626

@@ -98,7 +98,7 @@ Specifies the password to access the certificate private key.
9898
You must specify this parameter if you specify a certificate in .pfx format.
9999
100100
```yaml
101-
Type: String
101+
Type: SecureString
102102
Parameter Sets: (All)
103103
Aliases:
104104

src/ResourceManager/AzureBatch/Commands.Batch/help/New-AzureBatchComputeNodeUser.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Creates a user account on a Batch compute node.
1414

1515
### Id
1616
```
17-
New-AzureBatchComputeNodeUser [-PoolId] <String> [-ComputeNodeId] <String> -Name <String> -Password <String>
18-
[-ExpiryTime <DateTime>] [-IsAdmin] -BatchContext <BatchAccountContext>
17+
New-AzureBatchComputeNodeUser [-PoolId] <String> [-ComputeNodeId] <String> -Name <String>
18+
-Password <SecureString> [-ExpiryTime <DateTime>] [-IsAdmin] -BatchContext <BatchAccountContext>
1919
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2020
```
2121

2222
### ParentObject
2323
```
24-
New-AzureBatchComputeNodeUser [[-ComputeNode] <PSComputeNode>] -Name <String> -Password <String>
24+
New-AzureBatchComputeNodeUser [[-ComputeNode] <PSComputeNode>] -Name <String> -Password <SecureString>
2525
[-ExpiryTime <DateTime>] [-IsAdmin] -BatchContext <BatchAccountContext>
2626
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2727
```
@@ -160,7 +160,7 @@ Accept wildcard characters: False
160160
Specifies the user account password.
161161
162162
```yaml
163-
Type: String
163+
Type: SecureString
164164
Parameter Sets: (All)
165165
Aliases:
166166

src/ResourceManager/AzureBatch/Commands.Batch/help/Set-AzureBatchComputeNodeUser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Modifies properties of an account on a Batch compute node.
1414

1515
```
1616
Set-AzureBatchComputeNodeUser [-PoolId] <String> [-ComputeNodeId] <String> [-Name] <String>
17-
[-Password] <String> [-ExpiryTime <DateTime>] -BatchContext <BatchAccountContext>
17+
[-Password] <SecureString> [-ExpiryTime <DateTime>] -BatchContext <BatchAccountContext>
1818
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1919
```
2020

@@ -111,7 +111,7 @@ Accept wildcard characters: False
111111
Specifies the password for the user account.
112112
113113
```yaml
114-
Type: String
114+
Type: SecureString
115115
Parameter Sets: (All)
116116
Aliases:
117117

0 commit comments

Comments
 (0)