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.
Webservice Type: | POST |
Output format: | no output |
Mandatory form parameters: |
awsKeyId, the AWS Key ID
awsKeySecret, the secret for the key
awsMfaToken, an MFA token from the MFA device associated with the key
|
Request method: | POST |
Example: | 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" produces no output and a 200 status code |