Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 1.85 KB

File metadata and controls

75 lines (53 loc) · 1.85 KB
page_title subcategory description
conjur_host Resource - CyberArk Secrets Manager
CyberArk Secrets Manager host resource

conjur_host (Resource)

CyberArk Secrets Manager host resource

Example Usage

resource "conjur_host" "my_host" {
  name = "my-host"
  branch = "data/terraform/test"
  annotations = {
    description = "Workload managed by Terraform",
    environment = "development"
  }
  restricted_to = ["1.2.4.5", "10.20.30.10"]
  authn_descriptors = [
    {
      type = "api_key"
    }
  ]
}

Schema

Required

  • authn_descriptors (Attributes List) List of authentication descriptors for the host (see below for nested schema)
  • branch (String) The policy branch of the host
  • name (String) The name of the host

Optional

  • annotations (Map of String) Key-value annotations for the host
  • owner (Attributes) Owner of the host (see below for nested schema)
  • restricted_to (List of String) List of CIDR blocks the host is restricted to
  • type (String) The host type

Nested Schema for authn_descriptors

Required:

  • type (String) Type of authentication

Optional:

  • data (Attributes) Additional data for the authentication descriptor (see below for nested schema)
  • service_id (String) Service ID for the authentication type

Nested Schema for authn_descriptors.data

Optional:

  • claims (Map of String) Map of claim keys to expected values

Nested Schema for owner

Optional:

  • id (String) Owner identifier
  • kind (String) Owner kind (user, group, etc.)