ACME 플러그인 구성 레퍼런스
ACME 플러그인 구성 레퍼런스 (ACME Plugin Configuration Reference)
이 문서는 Kong Gateway의 ACME 플러그인에서 설정할 수 있는 모든 구성 파라미터를 스키마 형태로 정리한 레퍼런스예요. 계정 이메일이나 키 설정부터 도메인 목록, 인증서 타입, 기본값 같은 각 필드의 의미를 한눈에 확인할 수 있어요. 어떤 필드가 암호화되는지, 볼트 시크릿 참조가 가능한지도 함께 표시해 주니서 인증서 자동 발급 설정을 할 때 참고하면 좋아요
출처: 문서
본문
{
"properties": {
"config": {
"properties": {
"account_email": {
"description": "The account identifier. Can be reused in a different plugin instance. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"account_key": {
"description": "The private key associated with the account.",
"properties": {
"key_id": {
"description": "The Key ID. \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true
},
"key_set": {
"description": "The name of the key set to associate the Key ID with. \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true
}
},
"required": [
"key_id"
],
"type": "object"
},
"allow_any_domain": {
"default": false,
"description": "If set to `true`, the plugin allows all domains and ignores any values in the `domains` list.",
"type": "boolean"
},
"api_uri": {
"default": "https://acme-v02.api.letsencrypt.org/directory",
"description": "A string representing a URL, such as https://example.com/path/to/resource?q=search.",
"type": "string"
},
"cert_type": {
"default": "rsa",
"description": "The certificate type to create. The possible values are `rsa` for RSA certificate or `ecc` for EC certificate.",
"enum": [
"ecc",
"rsa"
],
"type": "string"
},
"domains": {
"description": "An array of strings representing hosts. A valid host is a string containing one or more labels separated by periods, with at most one wildcard label ('*')",
"items": {
"type": "string"
},
"type": "array"
},
"eab_hmac_key": {
"description": "External account binding (EAB) base64-encoded URL string of the HMAC key. You usually don't need to set this unless it is explicitly required by the CA. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"eab_kid": {
"description": "External account binding (EAB) key id. You usually don't need to set this unless it is explicitly required by the CA. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"enable_ipv4_common_name": {
"default": true,
"description": "A boolean value that controls whether to include the IPv4 address in the common name field of generated certificates.",
"type": "boolean"
},
"fail_backoff_minutes": {
"default": 5,
"description": "Minutes to wait for each domain that fails to create a certificate. This applies to both a\nnew certificate and a renewal certificate.",
"type": "number"
},
"preferred_chain": {
"description": "A string value that specifies the preferred certificate chain to use when generating certificates.",
"type": "string"
},
"renew_threshold_days": {
"default": 14,
"description": "Days remaining to renew the certificate before it expires.",
"type": "number"
},
"rsa_key_size": {
"default": 4096,
"description": "RSA private key size for the certificate. The possible values are 2048, 3072, or 4096.",
"enum": [
2048,
3072,
4096
],
"type": "integer"
},
"storage": {
"default": "shm",
"description": "The backend storage type to use. In DB-less mode and Konnect, `kong` storage is unavailable. In hybrid mode and Konnect, `shm` storage is unavailable. `shm` storage does not persist during Kong restarts and does not work for Kong running on different machines, so consider using one of `kong`, `redis`, `consul`, or `vault` in production.",
"enum": [
"consul",
"kong",
"redis",
"shm",
"vault"
],
"type": "string"
},
"storage_config": {
"properties": {
"consul": {
"properties": {
"host": {
"description": "A string representing a host name, such as example.com.",
"type": "string"
},
"https": {
"default": false,
"description": "Boolean representation of https.",
"type": "boolean"
},
"kv_path": {
"description": "KV prefix path.",
"type": "string"
},
"port": {
"description": "An integer representing a port number between 0 and 65535, inclusive.",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"timeout": {
"description": "Timeout in milliseconds.",
"type": "number"
},
"token": {
"description": "Consul ACL token. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
}
},
"type": "object"
},
"kong": {
"additionalProperties": true,
"type": "object"
},
"redis": {
"properties": {
"cloud_authentication": {
"description": "Cloud auth related configs for connecting to a Cloud Provider's Redis instance.",
"properties": {
"auth_provider": {
"description": "Auth providers to be used to authenticate to a Cloud Provider's Redis instance. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"enum": [
"aws",
"azure",
"gcp",
"oauth"
],
"type": "string",
"x-referenceable": true
},
"aws_access_key_id": {
"description": "AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"aws_assume_role_arn": {
"description": "The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"aws_cache_name": {
"description": "The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
},
"aws_is_serverless": {
"default": true,
"description": "This flag specifies whether the cluster is serverless when auth_provider is set to `aws`.",
"type": "boolean"
},
"aws_region": {
"description": "The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
},
"aws_role_session_name": {
"description": "The session name for the temporary credentials when assuming the IAM role. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"aws_secret_access_key": {
"description": "AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"azure_client_id": {
"description": "Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"azure_client_secret": {
"description": "Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"azure_tenant_id": {
"description": "Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"gcp_service_account_json": {
"description": "GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"oauth": {
"description": "OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`.",
"properties": {
"auth_method": {
"default": "client_secret_post",
"description": "Client authentication method used against the token endpoint.",
"enum": [
"client_secret_basic",
"client_secret_jwt",
"client_secret_post"
],
"type": "string"
},
"client_id": {
"description": "OAuth 2.0 client ID. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
},
"client_secret": {
"description": "OAuth 2.0 client secret. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"client_secret_jwt_alg": {
"default": "HS512",
"description": "Signing algorithm used for `client_secret_jwt` client authentication.",
"enum": [
"HS256",
"HS512"
],
"type": "string"
},
"grant_type": {
"default": "client_credentials",
"description": "OAuth 2.0 grant type used to request access tokens.",
"enum": [
"client_credentials",
"password"
],
"type": "string"
},
"password": {
"description": "Resource owner password, used with the `password` grant type. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"redis_username": {
"description": "Static Redis ACL username sent with `AUTH <username> <token>`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
},
"redis_username_claim": {
"description": "JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).",
"type": "string"
},
"scopes": {
"default": [],
"description": "OAuth 2.0 scopes to request.",
"items": {
"type": "string"
},
"type": "array"
},
"ssl_verify": {
"default": true,
"description": "Whether to verify the TLS certificate of the token endpoint.",
"type": "boolean"
},
"timeout": {
"default": 10000,
"description": "Timeout, in milliseconds, for requests to the token endpoint.",
"type": "number"
},
"token_endpoint": {
"description": "OAuth 2.0 token endpoint URL used to request access tokens.",
"type": "string"
},
"token_headers": {
"additionalProperties": {
"type": "string"
},
"description": "Additional HTTP headers to send with the token request.",
"type": "object"
},
"token_post_args": {
"additionalProperties": {
"type": "string"
},
"description": "Additional POST body arguments to send with the token request.",
"type": "object"
},
"username": {
"description": "Resource owner username, used with the `password` grant type. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
}
},
"type": "object"
}
},
"type": "object"
},
"database": {
"default": 0,
"description": "Database to use for the Redis connection when using the `redis` strategy",
"type": "integer"
},
"extra_options": {
"description": "Custom ACME Redis options",
"properties": {
"namespace": {
"default": "",
"description": "A namespace to prepend to all keys stored in Redis.",
"type": "string"
},
"scan_count": {
"default": 10,
"description": "The number of keys to return in Redis SCAN calls.",
"type": "number"
}
},
"type": "object"
},
"host": {
"description": "A string representing a host name, such as example.com. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
},
"password": {
"description": "Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
},
"port": {
"default": 6379,
"description": "An integer representing a port number between 0 and 65535, inclusive. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"maximum": 65535,
"minimum": 0,
"type": "integer",
"x-referenceable": true
},
"server_name": {
"description": "A string representing an SNI (server name indication) value for TLS. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
},
"ssl": {
"default": false,
"description": "If set to true, uses SSL to connect to Redis.",
"type": "boolean"
},
"ssl_verify": {
"default": true,
"description": "If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.",
"type": "boolean"
},
"timeout": {
"default": 2000,
"description": "An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2.",
"maximum": 2147483646,
"minimum": 0,
"type": "integer"
},
"username": {
"description": "Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
"type": "string",
"x-referenceable": true
}
},
"type": "object"
},
"shm": {
"properties": {
"shm_name": {
"default": "kong",
"description": "Name of shared memory zone used for Kong API gateway storage",
"type": "string"
}
},
"type": "object"
},
"vault": {
"properties": {
"auth_method": {
"default": "token",
"description": "Auth Method, default to token, can be 'token' or 'kubernetes'.",
"enum": [
"kubernetes",
"token"
],
"type": "string"
},
"auth_path": {
"description": "Vault's authentication path to use.",
"type": "string"
},
"auth_role": {
"description": "The role to try and assign.",
"type": "string"
},
"host": {
"description": "A string representing a host name, such as example.com.",
"type": "string"
},
"https": {
"default": false,
"description": "Boolean representation of https.",
"type": "boolean"
},
"jwt_path": {
"description": "The path to the JWT.",
"type": "string"
},
"kv_path": {
"description": "KV prefix path.",
"type": "string"
},
"port": {
"description": "An integer representing a port number between 0 and 65535, inclusive.",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"timeout": {
"description": "Timeout in milliseconds.",
"type": "number"
},
"tls_server_name": {
"description": "SNI used in request, default to host if omitted.",
"type": "string"
},
"tls_verify": {
"default": true,
"description": "Turn on TLS verification.",
"type": "boolean"
},
"token": {
"description": "Consul ACL token. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
"type": "string",
"x-encrypted": true,
"x-referenceable": true
}
},
"type": "object"
}
},
"type": "object"
},
"tos_accepted": {
"default": false,
"description": "If you are using Let's Encrypt, you must set this to `true` to agree the terms of service.",
"type": "boolean"
}
},
"required": [
"account_email"
],
"type": "object"
},
"expressions": {
"additionalProperties": true,
"type": "object"
},
"protocols": {
"default": [
"grpc",
"grpcs",
"http",
"https"
],
"description": "A set of strings representing HTTP protocols.",
"items": {
"enum": [
"grpc",
"grpcs",
"http",
"https"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"config"
],
"x-supported-partials": [
{
"name": "redis-ce",
"paths": [
"config.storage_config.redis"
]
}
]
}
번역할 문서 조각이 아직 도착하지 않았어요. Kong 문서 내용(마크다운)을 붙여넣어 주시면 규칙에 맞게 바로 번역해 드릴게요.
관련 자료
더 알아보기 (Learn more)
- ngrok과 ACME 플러그인을 사용해 로컬 환경에서 인증서 발급을 직접 테스트하는 방법을 다뤄요 — Test certificate generation locally with ngrok and the ACME plugin
- 플러그인 설정에서 시크릿 참조가 가능한 필드의 개념과 볼트 저장 시크릿 참조 방법을 설명해요 — referenceable
- 암호화 표시가 있는 필드와 키링 기반 암호화 동작 방식을 설명해요 — encrypted
- 계정 키 설정에서 사용되는 Key 엔티티의 구조를 설명해요 — Key entity
- Key ID를 묶어 관리하는 Key Set 엔티티의 개념을 설명해요 — Key Set entity