Created
February 8, 2025 03:44
-
-
Save BlackMetalz/08ec9f3e985c7796f65ae36b06004f35 to your computer and use it in GitHub Desktop.
Sample code contains secret.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
) | |
const ( | |
// AWS credentials | |
AWS_ACCESS_KEY = "AKIA4XXXXXXXXXXXXXXXXX" | |
AWS_SECRET_KEY = "kG1234abcd5678efgh90ijklmnop12345678ABCD" | |
// Database credentials | |
DB_PASSWORD = "sup3r_s3cr3t_p@ssw0rd" | |
DB_CONNECTION = "postgresql://admin:password123@localhost:5432/mydb" | |
// API keys | |
STRIPE_SECRET_KEY = "sk_test_51ABCDEfghiJKLMNOpqrsTUVW" | |
GITHUB_TOKEN = "ghp_ABC123DEF456GHI789JKLmnopqrstuvwxyz" | |
) | |
func main() { | |
fmt.Println("Application starting...") | |
log.Printf("Connected to database with credentials: %s", DB_CONNECTION) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment