pulumi_tls 5.6.0+1 copy "pulumi_tls: ^5.6.0+1" to clipboard
pulumi_tls: ^5.6.0+1 copied to clipboard

A Pulumi package to create TLS resources in Pulumi programs.

example/main.dart

import 'package:pulumi/pulumi.dart' as pulumi;

import 'package:pulumi_tls/index.dart' as pulumi_tls_index;

class TlsStack extends pulumi.Stack {
  late final List<pulumi.OutputProperty> _outputProperties;

  TlsStack() {
    final privateKey = pulumi_tls_index.PrivateKey(
      'private-key',
      args: pulumi_tls_index.PrivateKeyArgs(
        algorithm: pulumi.Input.asInput('ED25519'),
      ),
    );

    _outputProperties = [
      pulumi.OutputProperty(
        'publicKey',
        pulumi
            .output(privateKey.publicKeyOpenssh)
            .apply<Object?>((value) => value),
      ),
    ];
  }

  @override
  List<pulumi.OutputProperty> getOutputProperties() => _outputProperties;
}

Future<void> main() async {
  await pulumi.Deployment.runOrThrow(() => TlsStack());
}
0
likes
130
points
12
downloads

Documentation

API reference

Publisher

verified publisherglenfordwilliams.com

Weekly Downloads

A Pulumi package to create TLS resources in Pulumi programs.

Topics

#pulumi #tls

License

Apache-2.0 (license)

Dependencies

pulumi

More

Packages that depend on pulumi_tls