@alicloud/eiam20211201 2.17.5 → 2.17.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +1 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCredentialProviderRequest.d.ts +43 -14
- package/dist/models/CreateCredentialProviderRequest.js +14 -0
- package/dist/models/CreateCredentialProviderRequest.js.map +1 -1
- package/dist/models/GetCredentialProviderResponseBody.d.ts +51 -15
- package/dist/models/GetCredentialProviderResponseBody.js +16 -0
- package/dist/models/GetCredentialProviderResponseBody.js.map +1 -1
- package/dist/models/ListCredentialProvidersRequest.d.ts +0 -3
- package/dist/models/ListCredentialProvidersRequest.js.map +1 -1
- package/dist/models/ListCredentialProvidersResponseBody.d.ts +51 -28
- package/dist/models/ListCredentialProvidersResponseBody.js +16 -0
- package/dist/models/ListCredentialProvidersResponseBody.js.map +1 -1
- package/dist/models/UpdateCredentialProviderRequest.d.ts +39 -6
- package/dist/models/UpdateCredentialProviderRequest.js +14 -0
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -0
- package/src/models/CreateCredentialProviderRequest.ts +57 -14
- package/src/models/GetCredentialProviderResponseBody.ts +67 -15
- package/src/models/ListCredentialProvidersRequest.ts +0 -3
- package/src/models/ListCredentialProvidersResponseBody.ts +67 -28
- package/src/models/UpdateCredentialProviderRequest.ts +53 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListCredentialProvidersResponseBody.js","sourceRoot":"","sources":["../../src/models/ListCredentialProvidersResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+FAAgG,SAAQ,KAAK,CAAC,KAAK;IA8C9H,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;YACpD,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;YACnC,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,0MA8EC;AAED,MAAa,iGAAkG,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListCredentialProvidersResponseBody.js","sourceRoot":"","sources":["../../src/models/ListCredentialProvidersResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+FAAgG,SAAQ,KAAK,CAAC,KAAK;IA8C9H,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;YACpD,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YAC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W;YACtB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,sDAAsD,EAAE;YAC5G,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,kFAoEC"}
|
|
@@ -6,12 +6,12 @@ export declare class UpdateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
6
6
|
*
|
|
7
7
|
* > The list cannot contain more than 200 entries.
|
|
8
8
|
*
|
|
9
|
-
* >Notice: To clear the issuer list, pass an empty list or an empty string.
|
|
9
|
+
* >Notice: To clear the issuer list, pass an empty list or an empty string when calling the API.
|
|
10
10
|
*/
|
|
11
11
|
allowedTokenIssuers?: string[];
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* Specifies whether to enable the JWT derived short token
|
|
14
|
+
* Specifies whether to enable the JWT derived short token capability.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* false
|
|
@@ -47,7 +47,19 @@ export declare class UpdateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
47
47
|
export declare class UpdateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The
|
|
50
|
+
* The endpoint URL used to guide users through authorization. Conditionally required: this parameter is required when AuthorizationFlow is set to user_federation and ProviderVendor is set to custom. For preset vendors, this value can be automatically populated through DiscoveryUrl.
|
|
51
|
+
*/
|
|
52
|
+
authorizationEndpoint?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* The OAuth authorization flow type. Valid values:
|
|
56
|
+
* - m2m: Machine-to-machine (2LO, Client Credentials).
|
|
57
|
+
* - user_federation: User federation (3LO, Authorization Code).
|
|
58
|
+
*/
|
|
59
|
+
authorizationFlow?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The client_secret in the OAuth protocol.
|
|
51
63
|
*
|
|
52
64
|
* > The value cannot exceed 1024 characters in length.
|
|
53
65
|
*
|
|
@@ -55,15 +67,36 @@ export declare class UpdateCredentialProviderRequestCredentialProviderConfigOAut
|
|
|
55
67
|
* client_secret_example_xxx
|
|
56
68
|
*/
|
|
57
69
|
clientSecret?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The Discovery document URL used to automatically retrieve OAuth endpoint configurations. Conditionally optional: this parameter is used when AuthorizationFlow is set to user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
73
|
+
*/
|
|
74
|
+
discoveryUrl?: string;
|
|
75
|
+
issuer?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
79
|
+
*/
|
|
80
|
+
pkceChallengeMethod?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Specifies whether to use the PKCE extension for enhanced security. We recommend that you always enable this feature.
|
|
84
|
+
*/
|
|
85
|
+
pkceEnabled?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The preset vendor or custom configuration. This parameter is optional. Default value: custom.
|
|
89
|
+
*/
|
|
90
|
+
providerVendor?: string;
|
|
58
91
|
/**
|
|
59
92
|
* @remarks
|
|
60
93
|
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
61
94
|
*
|
|
62
|
-
* > The Scope configuration
|
|
95
|
+
* > The Scope configuration on the OAuth credential provider serves as a fallback value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth Access Token, the Scope configuration on the credential provider is used for token issuance.
|
|
63
96
|
*
|
|
64
97
|
* >Notice: Separate multiple Scope values with spaces. To clear the Scope configuration, pass an empty string.
|
|
65
98
|
*
|
|
66
|
-
* Restrictions
|
|
99
|
+
* Restrictions for each individual Scope value:
|
|
67
100
|
* 1. Allowed characters: lowercase letters, digits, and special characters `|/:_-.`
|
|
68
101
|
* 2. Must contain at least one lowercase letter or digit.
|
|
69
102
|
* 3. Must start with a special character `.`, a lowercase letter, or a digit.
|
|
@@ -121,7 +154,7 @@ export declare class UpdateCredentialProviderRequest extends $dara.Model {
|
|
|
121
154
|
* @remarks
|
|
122
155
|
* The idempotency token that ensures the idempotence of the request.
|
|
123
156
|
*
|
|
124
|
-
* Generate a unique parameter value from your client to ensure
|
|
157
|
+
* Generate a unique parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. For more information, see References: [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
125
158
|
*
|
|
126
159
|
* This parameter is required.
|
|
127
160
|
*
|
|
@@ -67,14 +67,28 @@ exports.UpdateCredentialProviderRequestCredentialProviderConfigJwtProviderConfig
|
|
|
67
67
|
class UpdateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
68
68
|
static names() {
|
|
69
69
|
return {
|
|
70
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
71
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
70
72
|
clientSecret: 'ClientSecret',
|
|
73
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
74
|
+
issuer: 'Issuer',
|
|
75
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
76
|
+
pkceEnabled: 'PkceEnabled',
|
|
77
|
+
providerVendor: 'ProviderVendor',
|
|
71
78
|
scope: 'Scope',
|
|
72
79
|
tokenEndpoint: 'TokenEndpoint',
|
|
73
80
|
};
|
|
74
81
|
}
|
|
75
82
|
static types() {
|
|
76
83
|
return {
|
|
84
|
+
authorizationEndpoint: 'string',
|
|
85
|
+
authorizationFlow: 'string',
|
|
77
86
|
clientSecret: 'string',
|
|
87
|
+
discoveryUrl: 'string',
|
|
88
|
+
issuer: 'string',
|
|
89
|
+
pkceChallengeMethod: 'string',
|
|
90
|
+
pkceEnabled: 'boolean',
|
|
91
|
+
providerVendor: 'string',
|
|
78
92
|
scope: 'string',
|
|
79
93
|
tokenEndpoint: 'string',
|
|
80
94
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateCredentialProviderRequest.js","sourceRoot":"","sources":["../../src/models/UpdateCredentialProviderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IAkCvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9DD,4JA8DC;AAED,MAAa,0EAA2E,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateCredentialProviderRequest.js","sourceRoot":"","sources":["../../src/models/UpdateCredentialProviderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IAkCvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9DD,4JA8DC;AAED,MAAa,0EAA2E,SAAQ,KAAK,CAAC,KAAK;IAwEzG,MAAM,CAAC,KA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G,IAAI,CAAC,mBAAmB,IAAI,OAAQ,IAAI,CAAC,mBAA2B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/F,IAAI,CAAC,mBAA2B,CAAC,QAAQ,EAAE,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,0HAsCC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAgD9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,wBAAwB,EAAE,0BAA0B;YACpD,oBAAoB,EAAE,sBAAsB;YAC5C,sBAAsB,EAAE,wBAAwB;YAChD,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,wBAAwB,EAAE,uDAAuD;YACjF,oBAAoB,EAAE,QAAQ;YAC9B,sBAAsB,EAAE,QAAQ;YAChC,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,wBAAwB,IAAI,OAAQ,IAAI,CAAC,wBAAgC,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzG,IAAI,CAAC,wBAAgC,CAAC,QAAQ,EAAE,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,0EA8EC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -16,6 +16,7 @@ export default class Client extends OpenApi {
|
|
|
16
16
|
'eu-central-1': "eiam.eu-central-1.aliyuncs.com",
|
|
17
17
|
'cn-hongkong': "eiam.cn-hongkong.aliyuncs.com",
|
|
18
18
|
'cn-hangzhou': "eiam.cn-hangzhou.aliyuncs.com",
|
|
19
|
+
'cn-beijing': "eiam.cn-beijing.aliyuncs.com",
|
|
19
20
|
'ap-southeast-5': "eiam.ap-southeast-5.aliyuncs.com",
|
|
20
21
|
'ap-southeast-1': "eiam.ap-southeast-1.aliyuncs.com",
|
|
21
22
|
'ap-northeast-2': "eiam.ap-northeast-2.aliyuncs.com",
|
|
@@ -7,7 +7,7 @@ export class CreateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The list of allowed JWT issuers.
|
|
9
9
|
*
|
|
10
|
-
* > The list
|
|
10
|
+
* > The list length cannot exceed 200.
|
|
11
11
|
*/
|
|
12
12
|
allowedTokenIssuers?: string[];
|
|
13
13
|
/**
|
|
@@ -20,7 +20,7 @@ export class CreateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
20
20
|
derivedShortTokenEnabled?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The validity
|
|
23
|
+
* The validity duration of the JWT. Unit: seconds.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* 900
|
|
@@ -67,7 +67,17 @@ export class CreateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
67
67
|
export class CreateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The
|
|
70
|
+
* The endpoint address used to guide users through authorization. Conditionally required: required when AuthorizationFlow=user_federation and ProviderVendor=custom. For preset vendors, this can be automatically populated through DiscoveryUrl.
|
|
71
|
+
*/
|
|
72
|
+
authorizationEndpoint?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The OAuth authorization flow type. Valid values: m2m: machine-to-machine (2LO, Client Credentials). user_federation: user federation (3LO, Authorization Code).
|
|
76
|
+
*/
|
|
77
|
+
authorizationFlow?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The client_id in the OAuth protocol.
|
|
71
81
|
*
|
|
72
82
|
* > The length cannot exceed 128 characters.
|
|
73
83
|
*
|
|
@@ -79,7 +89,7 @@ export class CreateCredentialProviderRequestCredentialProviderConfigOAuthProvide
|
|
|
79
89
|
clientId?: string;
|
|
80
90
|
/**
|
|
81
91
|
* @remarks
|
|
82
|
-
* The client_secret in the OAuth protocol
|
|
92
|
+
* The client_secret in the OAuth protocol.
|
|
83
93
|
*
|
|
84
94
|
* > The length cannot exceed 1024 characters.
|
|
85
95
|
*
|
|
@@ -91,13 +101,34 @@ export class CreateCredentialProviderRequestCredentialProviderConfigOAuthProvide
|
|
|
91
101
|
clientSecret?: string;
|
|
92
102
|
/**
|
|
93
103
|
* @remarks
|
|
94
|
-
* The
|
|
104
|
+
* The Discovery document URL used to automatically retrieve OAuth endpoint configurations. Conditionally optional: used when AuthorizationFlow=user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
105
|
+
*/
|
|
106
|
+
discoveryUrl?: string;
|
|
107
|
+
issuer?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
111
|
+
*/
|
|
112
|
+
pkceChallengeMethod?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
116
|
+
*/
|
|
117
|
+
pkceEnabled?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The preset vendor or custom configuration. Optional. Default value: custom.
|
|
121
|
+
*/
|
|
122
|
+
providerVendor?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* The scope in the OAuth protocol, which defines the permission range.
|
|
95
126
|
*
|
|
96
|
-
* > The Scope configuration on the credential provider serves as the
|
|
127
|
+
* > The Scope configuration on the credential provider serves as the fallback value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth Access Token, the Scope configuration on the credential provider is used for issuance.
|
|
97
128
|
*
|
|
98
129
|
* >Notice: Separate multiple Scope values with spaces.
|
|
99
130
|
*
|
|
100
|
-
*
|
|
131
|
+
* Restrictions for each individual Scope value:
|
|
101
132
|
* 1. Allowed characters: lowercase letters, digits, and the special characters `|/:_-.`
|
|
102
133
|
* 2. Must contain at least one lowercase letter or digit.
|
|
103
134
|
* 3. Must start with the special character `.`, a lowercase letter, or a digit.
|
|
@@ -111,9 +142,7 @@ export class CreateCredentialProviderRequestCredentialProviderConfigOAuthProvide
|
|
|
111
142
|
* @remarks
|
|
112
143
|
* The token endpoint of the OAuth protocol.
|
|
113
144
|
*
|
|
114
|
-
* >
|
|
115
|
-
*
|
|
116
|
-
* This parameter is required.
|
|
145
|
+
* > Must start with `http://` or `https://`, and the length cannot exceed 1024 characters.
|
|
117
146
|
*
|
|
118
147
|
* @example
|
|
119
148
|
* https://example.com/token
|
|
@@ -121,8 +150,15 @@ export class CreateCredentialProviderRequestCredentialProviderConfigOAuthProvide
|
|
|
121
150
|
tokenEndpoint?: string;
|
|
122
151
|
static names(): { [key: string]: string } {
|
|
123
152
|
return {
|
|
153
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
154
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
124
155
|
clientId: 'ClientId',
|
|
125
156
|
clientSecret: 'ClientSecret',
|
|
157
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
158
|
+
issuer: 'Issuer',
|
|
159
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
160
|
+
pkceEnabled: 'PkceEnabled',
|
|
161
|
+
providerVendor: 'ProviderVendor',
|
|
126
162
|
scope: 'Scope',
|
|
127
163
|
tokenEndpoint: 'TokenEndpoint',
|
|
128
164
|
};
|
|
@@ -130,8 +166,15 @@ export class CreateCredentialProviderRequestCredentialProviderConfigOAuthProvide
|
|
|
130
166
|
|
|
131
167
|
static types(): { [key: string]: any } {
|
|
132
168
|
return {
|
|
169
|
+
authorizationEndpoint: 'string',
|
|
170
|
+
authorizationFlow: 'string',
|
|
133
171
|
clientId: 'string',
|
|
134
172
|
clientSecret: 'string',
|
|
173
|
+
discoveryUrl: 'string',
|
|
174
|
+
issuer: 'string',
|
|
175
|
+
pkceChallengeMethod: 'string',
|
|
176
|
+
pkceEnabled: 'boolean',
|
|
177
|
+
providerVendor: 'string',
|
|
135
178
|
scope: 'string',
|
|
136
179
|
tokenEndpoint: 'string',
|
|
137
180
|
};
|
|
@@ -191,7 +234,7 @@ export class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
191
234
|
* @remarks
|
|
192
235
|
* The idempotency token that ensures the idempotence of the request.
|
|
193
236
|
*
|
|
194
|
-
* Generate a parameter value from your client to ensure
|
|
237
|
+
* Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. For more information, see References [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
195
238
|
*
|
|
196
239
|
* This parameter is required.
|
|
197
240
|
*
|
|
@@ -206,7 +249,7 @@ export class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
206
249
|
credentialProviderConfig?: CreateCredentialProviderRequestCredentialProviderConfig;
|
|
207
250
|
/**
|
|
208
251
|
* @remarks
|
|
209
|
-
* The
|
|
252
|
+
* The identifier of the credential provider.
|
|
210
253
|
*
|
|
211
254
|
* > Allowed characters include uppercase and lowercase letters, digits, and the special characters `.-_`. The length cannot exceed 64 characters.
|
|
212
255
|
*
|
|
@@ -232,8 +275,8 @@ export class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
232
275
|
* @remarks
|
|
233
276
|
* The type of the credential provider. Valid values:
|
|
234
277
|
*
|
|
235
|
-
* - oauth: OAuth credential provider
|
|
236
|
-
* - jwt: JWT credential provider
|
|
278
|
+
* - oauth: OAuth credential provider.
|
|
279
|
+
* - jwt: JWT credential provider.
|
|
237
280
|
*
|
|
238
281
|
* This parameter is required.
|
|
239
282
|
*
|
|
@@ -10,7 +10,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
10
10
|
allowedTokenIssuers?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Specifies whether to enable the JWT derived short token capability.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* false
|
|
@@ -18,7 +18,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
18
18
|
derivedShortTokenEnabled?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The validity period of the JWT
|
|
21
|
+
* The validity period of the JWT. Unit: seconds.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 900
|
|
@@ -26,7 +26,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
26
26
|
expiration?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* Specifies whether to enable JWT expiration cleanup.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* true
|
|
@@ -42,7 +42,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
42
42
|
issuer?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The JWKs endpoint
|
|
45
|
+
* The JWKs endpoint address.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* https://example123456.aliyunidaas.com/api/v2/auths_ngz2wj35ixxxdyat55nexxxxxx/oauth2/jwks
|
|
@@ -83,6 +83,16 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export class GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The endpoint address used to guide users through authorization. This parameter is conditionally required: it is required when AuthorizationFlow is set to user_federation and ProviderVendor is set to custom. For preset vendors, this value can be automatically populated through DiscoveryUrl.
|
|
89
|
+
*/
|
|
90
|
+
authorizationEndpoint?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The OAuth authorization flow type. Valid values: m2m: machine-to-machine (2LO, Client Credentials). user_federation: user federation (3LO, Authorization Code).
|
|
94
|
+
*/
|
|
95
|
+
authorizationFlow?: string;
|
|
86
96
|
/**
|
|
87
97
|
* @remarks
|
|
88
98
|
* The client_id in the OAuth protocol.
|
|
@@ -93,9 +103,30 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
93
103
|
clientId?: string;
|
|
94
104
|
/**
|
|
95
105
|
* @remarks
|
|
96
|
-
* The
|
|
106
|
+
* The URL of the discovery document used to automatically obtain OAuth endpoint configurations. This parameter is conditionally optional: it is used when AuthorizationFlow is set to user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
107
|
+
*/
|
|
108
|
+
discoveryUrl?: string;
|
|
109
|
+
issuer?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
113
|
+
*/
|
|
114
|
+
pkceChallengeMethod?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
118
|
+
*/
|
|
119
|
+
pkceEnabled?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The preset vendor or custom configuration. This parameter is optional. Default value: custom.
|
|
123
|
+
*/
|
|
124
|
+
providerVendor?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
97
128
|
*
|
|
98
|
-
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for issuance.
|
|
129
|
+
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for token issuance.
|
|
99
130
|
*
|
|
100
131
|
* >Notice: Multiple scope values are separated by spaces.
|
|
101
132
|
*
|
|
@@ -103,6 +134,11 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
103
134
|
* example:test_01 example:test_02
|
|
104
135
|
*/
|
|
105
136
|
scope?: string;
|
|
137
|
+
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* The redirect URI automatically generated by the system when the credential provider is created. Configure this value as the redirect_uri in the OAuth provider.
|
|
140
|
+
*/
|
|
141
|
+
systemRedirectUri?: string;
|
|
106
142
|
/**
|
|
107
143
|
* @remarks
|
|
108
144
|
* The token endpoint of the OAuth protocol.
|
|
@@ -113,16 +149,32 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
113
149
|
tokenEndpoint?: string;
|
|
114
150
|
static names(): { [key: string]: string } {
|
|
115
151
|
return {
|
|
152
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
153
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
116
154
|
clientId: 'ClientId',
|
|
155
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
156
|
+
issuer: 'Issuer',
|
|
157
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
158
|
+
pkceEnabled: 'PkceEnabled',
|
|
159
|
+
providerVendor: 'ProviderVendor',
|
|
117
160
|
scope: 'Scope',
|
|
161
|
+
systemRedirectUri: 'SystemRedirectUri',
|
|
118
162
|
tokenEndpoint: 'TokenEndpoint',
|
|
119
163
|
};
|
|
120
164
|
}
|
|
121
165
|
|
|
122
166
|
static types(): { [key: string]: any } {
|
|
123
167
|
return {
|
|
168
|
+
authorizationEndpoint: 'string',
|
|
169
|
+
authorizationFlow: 'string',
|
|
124
170
|
clientId: 'string',
|
|
171
|
+
discoveryUrl: 'string',
|
|
172
|
+
issuer: 'string',
|
|
173
|
+
pkceChallengeMethod: 'string',
|
|
174
|
+
pkceEnabled: 'boolean',
|
|
175
|
+
providerVendor: 'string',
|
|
125
176
|
scope: 'string',
|
|
177
|
+
systemRedirectUri: 'string',
|
|
126
178
|
tokenEndpoint: 'string',
|
|
127
179
|
};
|
|
128
180
|
}
|
|
@@ -149,7 +201,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
149
201
|
OAuthProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig;
|
|
150
202
|
/**
|
|
151
203
|
* @remarks
|
|
152
|
-
* The list of credential IDs
|
|
204
|
+
* The list of credential IDs that correspond to the sensitive configurations of the credential provider.
|
|
153
205
|
*
|
|
154
206
|
* > The system securely stores the sensitive configuration information of the credential provider in the form of credentials.
|
|
155
207
|
*/
|
|
@@ -191,7 +243,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
191
243
|
export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.Model {
|
|
192
244
|
/**
|
|
193
245
|
* @remarks
|
|
194
|
-
* The
|
|
246
|
+
* The time when the credential provider was created. The value is a UNIX timestamp in milliseconds.
|
|
195
247
|
*
|
|
196
248
|
* @example
|
|
197
249
|
* 1649830225000
|
|
@@ -199,12 +251,12 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
199
251
|
createTime?: number;
|
|
200
252
|
/**
|
|
201
253
|
* @remarks
|
|
202
|
-
* The credential provider
|
|
254
|
+
* The configuration of the credential provider.
|
|
203
255
|
*/
|
|
204
256
|
credentialProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfig;
|
|
205
257
|
/**
|
|
206
258
|
* @remarks
|
|
207
|
-
* The credential provider
|
|
259
|
+
* The creation type of the credential provider. Valid values:
|
|
208
260
|
*
|
|
209
261
|
* - system_init: Created by the system.
|
|
210
262
|
* - user_custom: Created by the user.
|
|
@@ -223,7 +275,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
223
275
|
credentialProviderId?: string;
|
|
224
276
|
/**
|
|
225
277
|
* @remarks
|
|
226
|
-
* The credential provider
|
|
278
|
+
* The business identifier of the credential provider.
|
|
227
279
|
*
|
|
228
280
|
* @example
|
|
229
281
|
* test_example_identifier
|
|
@@ -231,7 +283,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
231
283
|
credentialProviderIdentifier?: string;
|
|
232
284
|
/**
|
|
233
285
|
* @remarks
|
|
234
|
-
* The credential provider
|
|
286
|
+
* The name of the credential provider.
|
|
235
287
|
*
|
|
236
288
|
* @example
|
|
237
289
|
* test_example_name
|
|
@@ -239,7 +291,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
239
291
|
credentialProviderName?: string;
|
|
240
292
|
/**
|
|
241
293
|
* @remarks
|
|
242
|
-
* The credential provider
|
|
294
|
+
* The type of the credential provider. Valid values:
|
|
243
295
|
*
|
|
244
296
|
* - oauth: OAuth credential provider.
|
|
245
297
|
* - jwt: JWT credential provider.
|
|
@@ -266,7 +318,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
266
318
|
instanceId?: string;
|
|
267
319
|
/**
|
|
268
320
|
* @remarks
|
|
269
|
-
* The credential provider
|
|
321
|
+
* The status of the credential provider. Valid values:
|
|
270
322
|
*
|
|
271
323
|
* - enabled: Enabled.
|
|
272
324
|
* - disabled: Disabled.
|
|
@@ -277,7 +329,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
277
329
|
status?: string;
|
|
278
330
|
/**
|
|
279
331
|
* @remarks
|
|
280
|
-
* The
|
|
332
|
+
* The time when the credential provider was last updated. The value is a UNIX timestamp in milliseconds.
|
|
281
333
|
*
|
|
282
334
|
* @example
|
|
283
335
|
* 1649830225000
|
|
@@ -7,9 +7,6 @@ export class ListCredentialProvidersRequestFilter extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The filter condition name. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - CredentialProviderName: the credential provider name.
|
|
11
|
-
* - CredentialProviderIdentifier: the credential provider identifier.
|
|
12
|
-
*
|
|
13
10
|
* @example
|
|
14
11
|
* CredentialProviderName
|
|
15
12
|
*/
|