-
Notifications
You must be signed in to change notification settings - Fork 154
PKI ACME Login REST API
Endi S. Dewata edited this page Oct 24, 2023
·
10 revisions
The PKI ACME Login operation will authenticate the user, establish a session on the server, return the user profile, and return a cookie containing the session ID.
-
Method:
POST -
URL:
/acme/login -
Authentication: Required
-
Authorization: Not required
-
Code:
200 -
Content:
{
"id": <user ID>,
"FullName": <full name>,
"Roles": {
"Role": <array of roles>
}
}
JSON
$ curl \
-s \
--request POST \
-u admin:Secret.123 \
--cookie-jar cookies \
https://pki.demo.dogtagpki.org/acme/login | python -m json.tool
{
"Attributes": {
"Attribute": []
},
"id": "admin",
"FullName": "Administrator",
"Roles": {
"Role": [
"Administrators"
]
}
}
|
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |