mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
52 lines
2.2 KiB
HTML
52 lines
2.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<link href='../../../../sailing-fontface-1.0.cache.css' media='screen' rel='stylesheet' title='Default stylesheet' type='text/css' />
|
|
<link href='../../../main.css' media='screen' rel='stylesheet' title='Default stylesheet' type='text/css' />
|
|
<link rel='icon' href='../../../../sap.ico' type='image/x-icon'>
|
|
<title>SAP Sailing Analytics Webservices API Version 1.0</title>
|
|
</head>
|
|
<body>
|
|
<h1>SAP Sailing Analytics Webservices API Version 1.0</h1>
|
|
<h2>URL: /sailinglandscape/api/landscape/createsmfaessioncredentials</h2>
|
|
|
|
<b>Description:</b>
|
|
<p>Creates and stores session credentials for the user authenticated for this request.
|
|
The user requires LANDSCAPE:MANAGE:AWS permission and has to provide a key ID, a corresponding
|
|
secret as well as an MFA token. If successful, subsequent requests, e.g., to /createapplicationreplicaset
|
|
will use these credentials to authenticate towards the hyperscaler landscape and to manage its resources.</p>
|
|
<br />
|
|
<table>
|
|
<tr>
|
|
<td>Webservice Type:</td>
|
|
<td>POST</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Output format:</td>
|
|
<td>no output</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Mandatory form parameters:</td>
|
|
<td>
|
|
<div><tt>awsKeyId</tt>, the AWS Key ID</div>
|
|
<div><tt>awsKeySecret</tt>, the secret for the key</div>
|
|
<div><tt>awsMfaToken</tt>, an MFA token from the MFA device associated with the key</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Request method:</td>
|
|
<td>POST</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Example:</td>
|
|
<td>curl -X POST --data-urlencode 'awsKeyId=AKIAND3FQAC49IMUHP8D' --data-urlencode 'awsKeySecret=r44x4VAkacgQw7NMvtpjDuq1Ks+Y2Q943ERlMYTD' -d 'awsMfaToken=306961' -H 'Authorization: Bearer RwGK+DV38LKjeuDu+Bx87/3blLJHD7Ff+NCLeud9nRQ=' "https://sapsailing.com/sailinglandscape/api/landscape/createmfasessioncredentials"<br>
|
|
produces no output and a 200 status code
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div style="height: 1em;"></div>
|
|
<a href="index.html">Back to Web Service Overview</a>
|
|
</body>
|
|
</html>
|