1. Packages
  2. FusionAuth
FusionAuth v5.1.0 published on Tuesday, Oct 22, 2024 by Theo Gravity

FusionAuth

fusionauth logo
FusionAuth v5.1.0 published on Tuesday, Oct 22, 2024 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;
    
    fusionauth logo
    FusionAuth v5.1.0 published on Tuesday, Oct 22, 2024 by Theo Gravity