Skip to content

Commit 847a4af

Browse files
author
hzoppetti
committed
password changes to reflect new complexity rule
1 parent 6402b9a commit 847a4af

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

openapi.yaml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4630,15 +4630,7 @@ paths:
46304630
description: >
46314631
The new root password for the OS installed on this Disk.
46324632

4633-
The password must contain at least two of these four
4634-
character classes:
4635-
4636-
* lowercase letters
4637-
* uppercase letters
4638-
* numbers
4639-
* punctuation
4640-
minLength: 6
4641-
maxLength: 128
4633+
The password must meet the complexity strength validation requirements for a strong password.
46424634
example: another@complex^Password123
46434635
responses:
46444636
'200':
@@ -7593,8 +7585,6 @@ paths:
75937585
example: johndoe
75947586
password:
75957587
type: string
7596-
minLength: 0
7597-
maxLength: 5000
75987588
description: >
75997589
The password to use when accessing the Managed Service.
76007590
example: s3cur3P@ssw0rd
@@ -7750,8 +7740,6 @@ paths:
77507740
example: johndoe
77517741
password:
77527742
type: string
7753-
minLength: 0
7754-
maxLength: 5000
77557743
description: >
77567744
The password to use when accessing the Managed Service.
77577745
example: s3cur3P@ssw0rd
@@ -13780,20 +13768,10 @@ components:
1378013768
writeOnly: true
1378113769
example: aComplexP@ssword
1378213770
description: |
13783-
This will set the root user's password on the newly-created Linode.
13784-
The root password must conform to the following constraints:
13785-
13786-
* May only use alphanumerics, punctuation, spaces, and tabs.
13787-
* Must contain at least two of the following characters classes:
13788-
* Upper-case letters
13789-
* Lower-case letters
13790-
* Digits
13791-
* Punctuation
13771+
This will set the root user's password on the newly-created Linode. Linode passwords have the following constraints:
13772+
1379213773
* Must meet a password strength score requirement that is calculated internally by the API.
1379313774
If the strength requirement is not met, you will receive a `Password does not meet strength requirement` error.
13794-
minLength: 6
13795-
maxLength: 128
13796-
pattern: ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[A-Z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[0-9])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\])))
1379713775
stackscript_id:
1379813776
type: integer
1379913777
example: 10079

0 commit comments

Comments
 (0)