Sonatype Nexus Security management: secrets encryption API

The Security management: secrets encryption API from Sonatype Nexus — 1 operation(s) for security management: secrets encryption.

OpenAPI Specification

sonatype-nexus-security-management-secrets-encryption-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  contact:
    name: Sonatype Community Maintainers
    url: https://github.com/sonatype-nexus-community
  description: This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.91.0-07.
  license:
    name: Apache-2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: 'Sonatype Nexus Repository Manager assets Security management: secrets encryption API'
  version: 3.91.0-07
servers:
- url: /service/rest/
security:
- BasicAuth: []
tags:
- name: 'Security management: secrets encryption'
paths:
  /v1/secrets/encryption/re-encrypt:
    put:
      description: Ensure all nodes have access to the key, and they use the same key
      operationId: reEncrypt_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReEncryptionRequestApiXO'
        required: false
      responses:
        '202':
          content: {}
          description: Re-encrypt task successfully submitted
        '400':
          content: {}
          description: 'Invalid request. See the response for more information. Possible causes: The key is not available to all nodes, upgrade needed or empty key id.'
        '403':
          content: {}
          description: Insufficient permissions to re-encrypt secrets
        '409':
          content: {}
          description: Re-encryption task in progress.
      summary: Re-encrypt secrets using the specified key
      tags:
      - 'Security management: secrets encryption'
      x-codegen-request-body-name: body
components:
  schemas:
    ReEncryptionRequestApiXO:
      properties:
        notifyEmail:
          description: Optional - Email to notify when task finishes
          type: string
        secretKeyId:
          description: Key identifier that will be used to re-encrypt secrets
          type: string
      type: object
  securitySchemes:
    BasicAuth:
      scheme: basic
      type: http
x-original-swagger-version: '2.0'