Resource Type: consul_token

Defined in:
lib/puppet/type/consul_token.rb
Providers:
default

Overview

Manages a v2 Consul token

Properties

  • accessor_id

    Accessor ID of the token

  • description

    Description of the token

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • policies_by_id (defaults to: [])

    List of policy IDs assigned to the token

  • policies_by_name (defaults to: [])

    List of policy names assigned to the token

  • secret_id (defaults to: '')

    Secret ID of the token

Parameters

  • acl_api_token (defaults to: '')

    Token for accessing the ACL API

  • api_tries (defaults to: 3)

    number of tries when contacting the Consul REST API

  • hostname (defaults to: localhost)

    consul hostname

  • name (namevar)

    Name of the token

  • port (defaults to: 8500)

    consul port

  • protocol (defaults to: http)

    consul protocol

    Supported values:
    • http
    • https
  • provider

    The specific backend to use for this ‘consul_token` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.