Sonatype Nexus · Capability

Sonatype Nexus Repository Manager — Security management: SAML

Sonatype Nexus Repository Manager — Security management: SAML. 5 operations. Lead operation: Delete SAML configuration. Self-contained Naftiko capability covering one Sonatype Nexus business surface.

Run with Naftiko Sonatype NexusSecurity management: SAML

What You Can Do

DELETE
Deletesamlconfiguration — Delete SAML configuration
/v1/v1/security/saml
GET
Getsamlconfiguration — Get SAML configuration
/v1/v1/security/saml
PUT
Putsamlconfiguration — Create or update SAML configuration
/v1/v1/security/saml
GET
Getmetadata — Get service provider metadata XML document
/v1/v1/security/saml/metadata
GET
Getpubliccertificateinpemformat — Get service provider signing or decryption certificate in PEM format
/v1/v1/security/saml/pem

MCP Tools

delete-saml-configuration

Delete SAML configuration

idempotent
get-saml-configuration

Get SAML configuration

read-only idempotent
create-update-saml-configuration

Create or update SAML configuration

idempotent
get-service-provider-metadata-xml

Get service provider metadata XML document

read-only idempotent
get-service-provider-signing-decryption

Get service provider signing or decryption certificate in PEM format

read-only idempotent

Capability Spec

repository-security-management-saml.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Sonatype Nexus Repository Manager — Security management: SAML'
  description: 'Sonatype Nexus Repository Manager — Security management: SAML. 5 operations. Lead operation: Delete SAML configuration.
    Self-contained Naftiko capability covering one Sonatype Nexus business surface.'
  tags:
  - Sonatype Nexus
  - 'Security management: SAML'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_NEXUS_API_KEY: SONATYPE_NEXUS_API_KEY
capability:
  consumes:
  - type: http
    namespace: repository-security-management-saml
    baseUri: ''
    description: 'Sonatype Nexus Repository Manager — Security management: SAML business capability. Self-contained, no shared
      references.'
    resources:
    - name: v1-security-saml
      path: /v1/security/saml
      operations:
      - name: deletesamlconfiguration
        method: DELETE
        description: Delete SAML configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getsamlconfiguration
        method: GET
        description: Get SAML configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: putsamlconfiguration
        method: PUT
        description: Create or update SAML configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-security-saml-metadata
      path: /v1/security/saml/metadata
      operations:
      - name: getmetadata
        method: GET
        description: Get service provider metadata XML document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-security-saml-pem
      path: /v1/security/saml/pem
      operations:
      - name: getpubliccertificateinpemformat
        method: GET
        description: Get service provider signing or decryption certificate in PEM format
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: type
          in: query
          type: string
          description: 'Type of certificate to return: ''signing'' or ''decryption''. Defaults to ''signing'' if not provided.'
    authentication:
      type: basic
      username: '{{env.SONATYPE_NEXUS_USER}}'
      password: '{{env.SONATYPE_NEXUS_PASS}}'
  exposes:
  - type: rest
    namespace: repository-security-management-saml-rest
    port: 8080
    description: 'REST adapter for Sonatype Nexus Repository Manager — Security management: SAML. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/v1/security/saml
      name: v1-security-saml
      description: REST surface for v1-security-saml.
      operations:
      - method: DELETE
        name: deletesamlconfiguration
        description: Delete SAML configuration
        call: repository-security-management-saml.deletesamlconfiguration
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getsamlconfiguration
        description: Get SAML configuration
        call: repository-security-management-saml.getsamlconfiguration
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putsamlconfiguration
        description: Create or update SAML configuration
        call: repository-security-management-saml.putsamlconfiguration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/security/saml/metadata
      name: v1-security-saml-metadata
      description: REST surface for v1-security-saml-metadata.
      operations:
      - method: GET
        name: getmetadata
        description: Get service provider metadata XML document
        call: repository-security-management-saml.getmetadata
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/security/saml/pem
      name: v1-security-saml-pem
      description: REST surface for v1-security-saml-pem.
      operations:
      - method: GET
        name: getpubliccertificateinpemformat
        description: Get service provider signing or decryption certificate in PEM format
        call: repository-security-management-saml.getpubliccertificateinpemformat
        with:
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repository-security-management-saml-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Sonatype Nexus Repository Manager — Security management: SAML. One tool per consumed operation,
      routed inline through this capability''s consumes block.'
    tools:
    - name: delete-saml-configuration
      description: Delete SAML configuration
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repository-security-management-saml.deletesamlconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: get-saml-configuration
      description: Get SAML configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repository-security-management-saml.getsamlconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: create-update-saml-configuration
      description: Create or update SAML configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: repository-security-management-saml.putsamlconfiguration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-service-provider-metadata-xml
      description: Get service provider metadata XML document
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repository-security-management-saml.getmetadata
      outputParameters:
      - type: object
        mapping: $.
    - name: get-service-provider-signing-decryption
      description: Get service provider signing or decryption certificate in PEM format
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repository-security-management-saml.getpubliccertificateinpemformat
      with:
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.