[![Build Status](https://travis-ci.com/pulumi/pulumi-keycloak.svg?token=eHg7Zp5zdDDJfTjY8ejq&branch=master)](https://travis-ci.com/pulumi/pulumi-keycloak)
# Keycloak Resource Provider
The Keycloak resource provider for Pulumi lets you manage Keycloak resources in your cloud programs. To use
this package, please [install the Pulumi CLI first](https://www.mailgun.com//).
## Installing
This package is available in many languages in the standard packaging formats.
### Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
$ npm install @pulumi/keycloak
or `yarn`:
$ yarn add @pulumi/keycloak
### Python
To use from Python, install using `pip`:
$ pip install pulumi_keycloak
### Go
To use from Go, use `go get` to grab the latest version of the library
$ go get github.com/pulumi/pulumi-keycloak/sdk/go/...
## Configuration
The following configuration points are available:
- `keycloak:clientId` - (Required) The client_id for the client that was created in the "Keycloak Setup" section.
Use the admin-cli client if you are using the password grant. Defaults to the environment variable `KEYCLOAK_CLIENT_ID`.
- `keycloak:url` - (Required) - The URL of the Keycloak instance, before /auth/admin. Defaults to the environment
variable `KEYCLOAK_URL`.
- `keycloak:clientSecret` - (Optional) The secret for the client used by the provider for authentication via the client
credentials grant. This can be found or changed using the "Credentials" tab in the client settings. Defaults to the
environment variable `KEYCLOAK_CLIENT_SECRET`. This attribute is required when using the client credentials grant,
and cannot be set when using the password grant.
- `keycloak:username`- (Optional) The username of the user used by the provider for authentication via the password grant.
Defaults to environment variable `KEYCLOAK_USER`. This attribute is required when using the password grant, and cannot
be set when using the client credentials grant.
- `keycloak:password`- (Optional) The password of the user used by the provider for authentication via the password grant. Defaults to
environment variable `KEYCLOAK_PASSWORD`. This attribute is required when using the password grant, and cannot be set when
using the client credentials grant.
- `keycloak:realm` - (Optional) The realm used by the provider for authentication. Defaults to environment variable
`KEYCLOAK_REALM`, or `master` if the environment variable is not specified.
- `keycloak:initialLogin` - (Optional) Optionally avoid Keycloak login during provider setup, for when Keycloak itself
is being provisioned by terraform. Defaults to `true`, which is the original method.
- `keycloak:clientTimeout` - (Optional) Sets the timeout of the client when addressing Keycloak, in seconds. Defaults to `5`.
## Reference
For detailed reference documentation, please visit [the API docs](https://pulumi.io/reference/pkg/nodejs/@pulumi/keycloak/index.html).
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共68个文件
py:59个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:pulumi_keycloak-1.0.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
pulumi_keycloak-1.0.0.tar.gz (68个子文件)
pulumi_keycloak-1.0.0
PKG-INFO 4KB
pulumi_keycloak.egg-info
PKG-INFO 4KB
requires.txt 49B
not-zip-safe 1B
SOURCES.txt 3KB
top_level.txt 16B
dependency_links.txt 1B
setup.cfg 38B
setup.py 2KB
README.md 3KB
pulumi_keycloak
group_memberships.py 4KB
hardcoded_role_identity_mapper.py 3KB
attribute_to_role_identity_mapper.py 5KB
user_template_importer_identity_provider_mapper.py 4KB
utilities.py 3KB
config
__init__.py 249B
vars.py 1KB
role.py 4KB
oidc
identity_provider.py 8KB
__init__.py 262B
user.py 6KB
hardcoded_attribute_identity_provider_mapper.py 4KB
default_groups.py 4KB
provider.py 4KB
get_realm_keys.py 3KB
generic_client_protocol_mapper.py 6KB
realm.py 16KB
open_id
full_name_protocol_mapper.py 6KB
audience_protocol_mapper.py 6KB
user_realm_role_protocol_mapper.py 7KB
client_optional_scopes.py 4KB
client_service_account_role.py 4KB
user_attribute_protocol_mapper.py 7KB
hardcoded_role_protocol_mapper.py 5KB
get_client_service_account_user.py 4KB
hardcoded_claim_protocol_mapper.py 7KB
client_authorization_resource.py 4KB
client.py 11KB
__init__.py 1011B
client_authorization_permission.py 4KB
client_scope.py 5KB
client_default_scopes.py 4KB
user_property_protocol_mapper.py 7KB
get_client_authorization_policy.py 4KB
get_client.py 7KB
client_authorization_scope.py 4KB
group_membership_protocol_mapper.py 6KB
custom_user_federation.py 4KB
get_group.py 3KB
group.py 5KB
__init__.py 1KB
tables.py 17KB
ldap
user_federation.py 13KB
group_mapper.py 10KB
__init__.py 405B
full_name_mapper.py 5KB
msad_user_account_control_mapper.py 5KB
user_attribute_mapper.py 6KB
get_role.py 3KB
attribute_importer_identity_provider_mapper.py 5KB
saml
identity_provider.py 13KB
user_attribute_protocol_mapper.py 6KB
client.py 12KB
__init__.py 375B
user_property_protocol_mapper.py 6KB
required_action.py 4KB
group_roles.py 3KB
get_realm.py 17KB
共 68 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功