Update docs

This commit is contained in:
Abel Luck 2025-06-03 14:08:16 +02:00
parent a4442dcfbe
commit bd06c2e4b3
8 changed files with 4 additions and 28 deletions

View file

@ -9,9 +9,7 @@ terraform {
provider "tor" {}
# Example: Generate obfs4 state using existing identity keys
resource "tor_relay_identity_rsa" "bridge" {
key_size = 2048
}
resource "tor_relay_identity_rsa" "bridge" {}
resource "tor_relay_identity_ed25519" "bridge" {}

View file

@ -22,10 +22,6 @@ output "public_key_pem" {
value = tor_relay_identity_ed25519.example.public_key_pem
}
output "public_key_fingerprint_sha1" {
description = "SHA1 fingerprint of the Ed25519 public key"
value = tor_relay_identity_ed25519.example.public_key_fingerprint_sha1
}
output "public_key_fingerprint_sha256" {
description = "SHA256 fingerprint of the Ed25519 public key"

View file

@ -12,9 +12,7 @@ terraform {
provider "tor" {}
# Example: Generate RSA identity key for Tor relay
resource "tor_relay_identity_rsa" "example" {
key_size = 2048 # Default RSA key size for Tor relays
}
resource "tor_relay_identity_rsa" "example" {}
output "private_key_pem" {
description = "RSA private key in PEM format"