-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsaml_idhub_api.postman_collection.json
More file actions
125 lines (125 loc) · 3.12 KB
/
Copy pathsaml_idhub_api.postman_collection.json
File metadata and controls
125 lines (125 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"info": {
"_postman_id": "3e71fdc7-c198-4e87-ad54-4f667cf8c40e",
"name": "saml_idhub_api",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "58.83.219.136:33333/setOrganizations/idhub_test",
"request": {
"method": "GET",
"header": [],
"body": {},
"url": {
"raw": "58.83.219.136:33333/setOrganizations/idhub_test",
"host": [
"58",
"83",
"219",
"136"
],
"port": "33333",
"path": [
"setOrganizations",
"idhub_test"
]
},
"description": "GET 58.83.219.136:33333/setOrganizations/:org_id"
},
"response": []
},
{
"name": "58.83.219.136:33333/getMetadata/idhub_test",
"request": {
"method": "GET",
"header": [],
"body": {},
"url": {
"raw": "58.83.219.136:33333/getMetadata/idhub_test",
"host": [
"58",
"83",
"219",
"136"
],
"port": "33333",
"path": [
"getMetadata",
"idhub_test"
]
},
"description": "GET 58.83.219.136:33333/getMetadata/:org_id"
},
"response": []
},
{
"name": "58.83.219.136:33333/getSamlResponse",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "org_id",
"value": "idhub_test",
"description": "组织账户标识符",
"type": "text"
},
{
"key": "issuer",
"value": "https://saml.idhub.network",
"description": "固定值https://saml.idhub.network",
"type": "text"
},
{
"key": "user_id",
"value": "zaakin",
"description": "用户标识符(普通用户地址)",
"type": "text"
},
{
"key": "role_arn",
"value": "arn:aws:iam::434228681164:role/test",
"description": "AWS提供",
"type": "text"
},
{
"key": "provider_arn",
"value": "arn:aws:iam::434228681164:saml-provider/test",
"description": "AWS提供",
"type": "text"
},
{
"key": "org_aws_id",
"value": "434228681164",
"description": "组织账户在AWS的id",
"type": "text"
}
]
},
"url": {
"raw": "58.83.219.136:33333/getSamlResponse",
"host": [
"58",
"83",
"219",
"136"
],
"port": "33333",
"path": [
"getSamlResponse"
]
},
"description": "[{\"key\":\"org_id\",\"value\":\"piouslove\",\"description\":\"组织的标识符\"},{\"key\":\"issuer\",\"value\":\"urn:piouslove.idhub.network\",\"description\":\"urn:组织的标识符.idhub.network\"},{\"key\":\"user_id\",\"value\":\"zaakin\",\"description\":\"用户标识符\"},{\"key\":\"role_arn\",\"value\":\"abc\",\"description\":\"由组织提供的AWS角色ARN\"},{\"key\":\"provider_arn\",\"value\":\"def\",\"description\":\"由组织提供的AWS身份提供商ARN\"},{\"key\":\"org_aws_id\",\"value\":\"xyz\",\"description\":\"由组织提供的AWS帐户ID\"}]"
},
"response": []
}
]
}