A Pulumi package for creating and managing keycloak cloud resources.
Project description
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.
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/v5
.NET
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Keycloak
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 variableKEYCLOAK_CLIENT_ID
.keycloak:url
- (Required) - The URL of the Keycloak instance, before /auth/admin. Defaults to the environment variableKEYCLOAK_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 variableKEYCLOAK_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 variableKEYCLOAK_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 variableKEYCLOAK_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 variableKEYCLOAK_REALM
, ormaster
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 totrue
, which is the original method.keycloak:clientTimeout
- (Optional) Sets the timeout of the client when addressing Keycloak, in seconds. Defaults to5
.
Reference
For further information, please visit the Keycloak provider docs or for detailed reference documentation, please visit the API docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pulumi_keycloak-5.3.0a1703041107.tar.gz
.
File metadata
- Download URL: pulumi_keycloak-5.3.0a1703041107.tar.gz
- Upload date:
- Size: 230.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dedd43b63cbd2e29546301c841b3212f699f2b7513a7b7b15e9c25f3cc3168a1 |
|
MD5 | 1760994c6f648bbc741d81d3557d5b0c |
|
BLAKE2b-256 | f0ce6dd9c749d29990245617a53b00ec12e165e1df138a5c7340a95f3027e0d8 |
File details
Details for the file pulumi_keycloak-5.3.0a1703041107-py3-none-any.whl
.
File metadata
- Download URL: pulumi_keycloak-5.3.0a1703041107-py3-none-any.whl
- Upload date:
- Size: 369.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9341ee9e9e1d4a60a710b24712765ad97f091fc73d868f51b17f5ea23dd19ef1 |
|
MD5 | 7d5f17338dd271e18ac5490acc1119da |
|
BLAKE2b-256 | a6d6c46513b22854de98decbc6949241d5c48b4024ed37dd215f122eb9c6b08f |