Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.51 KB

File metadata and controls

43 lines (35 loc) · 1.51 KB

sonatypeiq Provider

When using the provider the username/password need to have the correct role/permissions assigned to them for the resources you intend to consume or manages.

User management instruction can be found in the official documentation. Creating roles is also documented here and how to generate the username/tokens for a user can be found here

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 "sonatypeiq" {
  host     = "my-sonatype-iq-server.tld:port"
  username = "username"
  password = "password"
}

Schema

Required

  • password (String, Sensitive) Password for your Administrator user for Sonatype IQ Server
  • url (String) Sonatype IQ Server URL
  • username (String) Administrator Username for Sonatype IQ Server