REST API  4.0.0
REST API for SafeNet Network HSMs
POST /api/lunasa/snmp/users

POST /api/lunasa/snmp/users

This resource creates an SNMP user.

Parameters

securityName

Specifies the name of the user. Note: The security name must contain between 4 and 32 characters.

Use: Required

JSON Schema:

    Object
    type:string

authenticationPassword

Specifies and confirms the password used to authenticate SNMPv3 notification messages. Note: This password must contain between 8 and 128 characters and is case-sensitive.

Use: Required

JSON Schema:

    Object
    type:string

authenticationProtocol

Specifies the HMAC (hash-based message authentication code) algorithm used to authenticate SNMPv3 notification messages. Note: Restricted to SHA.

Use: Not Required

JSON Schema:

    Object
    type:string

privacyPassword

Specifies and confirms the password used to encrypt SNMPv3 notification messages. Note: This password must contain between 8 and 128 characters and is case-sensitive.

Use: Required

JSON Schema:

    Object
    type:string

privacyProtocol

Specifies the algorithm used to encrypt SNMPv3 notification messages. Note: Restricted to AES.

Use: Not Required

JSON Schema:

    Object
    type:string

Responses

204

SNMP user created.

Location

"Location" is the URL to the newly created snmp user.

see GET /api/lunasa/snmp/users/{userid}

400

Invalid parameters.

Example Request

    POST
    https://1.2.3.4:8443/api/lunasa/snmp/users
    {
        "securityName": "myUser",
        "authenticationPassword" : "password",
        "authenticationProtocol" : "SHA",
        "privacyPassword" : "password2",
        "privacyProtocol" : "AES"
    }

Example Response

{
}