1. Packages
  2. FusionAuth
FusionAuth v6.0.2 published on Sunday, Feb 9, 2025 by Theo Gravity

FusionAuth

fusionauth logo
FusionAuth v6.0.2 published on Sunday, Feb 9, 2025 by Theo Gravity

    FusionAuth for Pulumi can be used to configure FusionAuth instances.

    This is bridged using the Terraform FusionAuth package.

    You can look at the Terraform FusionAuth docs 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 v6.0.2 published on Sunday, Feb 9, 2025 by Theo Gravity