Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.46 KB

File metadata and controls

50 lines (38 loc) · 1.46 KB
page_title subcategory description
sonatyperepo Provider

sonatyperepo Provider

Example Usage

# 
# Copyright (c) 2019-present Sonatype, Inc.
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

provider "sonatyperepo" {
  host     = "https://my-sonatype-nexus-repository.tld:port"
  username = "username"
  password = "password"
}

Schema

Required

  • password (String, Sensitive) Password for your user for Sonatype Nexus Repository Server
  • url (String) Sonatype Nexus Repository Server URL
  • username (String) Username for Sonatype Nexus Repository Server, requires role/permissions scoped to the resources you wish to manage

Optional

  • api_base_path (String) Base Path at which the API is present - defaults to /service/rest. This only needs to be set if you run Sonatype Nexus Repository at a Base Path that is not /.