Skip to content

Commit

Permalink
feat: add all supported alogithms for rsa-enc keystore
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Boerger <[email protected]>
  • Loading branch information
tboerger committed Jan 24, 2025
1 parent 83ddf6a commit 4700bb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provider/resource_keycloak_realm_keystore_rsa.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ package provider

import (
"context"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"github.com/keycloak/terraform-provider-keycloak/keycloak"
)

var (
keycloakRealmKeystoreRsaAlgorithm = []string{"RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "RSA-OAEP"}
keycloakRealmKeystoreRsaAlgorithm = []string{"RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "RSA1_5", "RSA-OAEP", "RSA-OAEP-256"}
)

func resourceKeycloakRealmKeystoreRsa() *schema.Resource {
Expand Down

0 comments on commit 4700bb0

Please sign in to comment.