FusionAuth

v2.0.1 published on Sunday, Oct 30, 2022 by Theo Gravity

FusionAuth for Pulumi can be used to configure FusionAuth instances.

This is bridged using the gpsinsight Terraform FusionAuth package.

You can look at the Terraform FusionAuth docs by gpsinsight to get an idea of what is available in this package.

Example

import { Provider } from 'pulumi-fusionauth';

const fusionAuthProvider = new Provider('fusion-auth', {
  host: process.env.FUSION_AUTH_HOST_URL,
  apiKey: process.env.FUSION_AUTH_API_KEY,
});

// Create a new signing key
const clientDataSigningKey = new FusionAuthKey(
  'sample-jwt-key',
  {
    algorithm: 'RS256',
    name: 'Sample jwt key',
    length: 2048,
  },
  { provider: fusionAuthProvider },
);

export const appClientDataJwtKeyId = clientDataSigningKey.id;