config

package
v0.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApiKey

func GetApiKey(ctx *pulumi.Context) string

User API key. Could use `CTFD_API_KEY` environment variable instead. Despite being the most convenient way to authenticate yourself, we do not recommend it as you will probably generate a long-live token without any rotation policy.

func GetNonce

func GetNonce(ctx *pulumi.Context) string

User session nonce, comes with session. Could use `CTFD_NONCE` environment variable instead.

func GetSession

func GetSession(ctx *pulumi.Context) string

User session token, comes with nonce. Could use `CTFD_SESSION` environment variable instead.

func GetUrl

func GetUrl(ctx *pulumi.Context) string

CTFd base URL (e.g. `https://my-ctf.lan`). Could use `CTFD_URL` environment variable instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL