Sonatype Nexus Repository Security management: SAML API

The Security management: SAML API from Sonatype Nexus Repository — 3 operation(s) for security management: saml.

Operations 5

GET /v1/security/saml Get SAML configuration #
PUT /v1/security/saml Create or update SAML configuration #
DELETE /v1/security/saml Delete SAML configuration #
GET /v1/security/saml/metadata Get service provider metadata XML document #
GET /v1/security/saml/pem Get service provider signing or decryption certificate in PEM format #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nexus:nexus-security-management-saml-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nexus-security-management-saml-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Nexus Repository Manager REST Security management: SAML API'
  version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: 'Security management: SAML'
paths:
  /v1/security/saml:
    get:
      tags:
      - 'Security management: SAML'
      summary: Get SAML configuration
      operationId: listSecuritySaml
      responses:
        '200':
          description: SAML configuration returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SamlConfigurationXO'
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
        '404':
          description: SAML configuration not found
    put:
      tags:
      - 'Security management: SAML'
      summary: Create or update SAML configuration
      operationId: updateSecuritySaml
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SamlConfigurationXO'
        required: true
      responses:
        '201':
          description: SAML configuration created
        '204':
          description: SAML configuration updated
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
        '404':
          description: SAML configuration not found
    delete:
      tags:
      - 'Security management: SAML'
      summary: Delete SAML configuration
      operationId: deleteSecuritySaml
      responses:
        '204':
          description: SAML configuration deleted
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
  /v1/security/saml/metadata:
    get:
      tags:
      - 'Security management: SAML'
      summary: Get service provider metadata XML document
      operationId: listSecuritySamlMetadata
      responses:
        '200':
          description: Metadata Returned
          content:
            application/xml:
              schema:
                type: string
        '401':
          description: Authentication required
        '404':
          description: Metadata not found
        '403':
          description: Insufficient permissions
  /v1/security/saml/pem:
    get:
      tags:
      - 'Security management: SAML'
      summary: Get service provider signing or decryption certificate in PEM format
      operationId: listSecuritySamlPem
      parameters:
      - name: type
        in: query
        description: 'Type of certificate to return: SIGNING or DECRYPTION. Defaults to SIGNING if not provided.'
        schema:
          type: string
          enum:
          - SIGNING
          - DECRYPTION
          default: SIGNING
      responses:
        '200':
          description: PEM file Returned
          content:
            application/x-pem-file:
              schema:
                type: string
        '401':
          description: Authentication required
        '404':
          description: PEM file not found
        '403':
          description: Insufficient permissions
components:
  schemas:
    SamlConfigurationXO:
      required:
      - idpMetadata
      - usernameAttribute
      type: object
      properties:
        entityId:
          type: string
          description: SAML Service Provider's unique identifying URI
        idpMetadata:
          minLength: 1
          type: string
          description: SAML Identity Provider Metadata XML
        usernameAttribute:
          minLength: 1
          type: string
          description: SAML attribute name for the username
        firstNameAttribute:
          type: string
          description: SAML attribute name for the first name
        lastNameAttribute:
          type: string
          description: SAML attribute name for the last name
        emailAttribute:
          type: string
          description: SAML attribute name for email
        groupsAttribute:
          type: string
          description: SAML attribute name for groups which maps the Identity Provider groups to a Nexus Repository Manager role
        validateResponseSignature:
          type: boolean
          description: Validate signatures on responses from Identity Provider
        validateAssertionSignature:
          type: boolean
          description: Validate signatures on assertions from Identity Provider