Credentials

Service for authenticating SAP IoT accesses to objects residing on the SAP IoT services for SAP BTP for the Cloud Foundry Environment layer.

When an application based on SAP IoT tries to associate a thing with the sensors of a physical device, it depends on the resources offered via the SAP IoT services for SAP BTP for the Cloud Foundry Environment layer. Since this layer comes with a user and authorization management of its own, the application has to verify that it is authorized to access device and sensor data. This service offers the methods that are needed for that purpose.
Base URI:
  • Formal description: http://<server address>[:<port number>]/v1/credentials
  • Example for a base URI in a cloud foundry environment: https://tm-data-mapping.cfapps.eu10.hana.ondemand.com/v1/credentials

Permissions: none

Methods

HTTP Method Action URI Scopes
POST Create Credentials /v1/credentials n/a
GET Read Credentials /v1/credentials n/a
PUT Update Credentials /v1/credentials n/a
DELETE Delete Credentials /v1/credentials n/a

Payload

For POST, PUT, and GET, only media type JSON is supported. The JSON for these methods has the following structure:

{ 
    "user"        : { "type": "string", "maxLength": 256, "required": "true" },
    "password"    : { "type": "string", "maxLength": 256, "required": "true" },
    "host"        : { "type": "string", "maxLength": 128, "required": "true" },
    "instanceId"  : { "type": "string", "maxLength": 55, "required": "false" },
    "iotTenantId" : { "type": "string", "maxLength": 55, "required": "false" }
}