secret

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package secrets provides credentials embeded into cli binary. Currently that are ngs nats access credentilas. All of them have only necessary rights to publish/subscribe to selected subject. They are hardly usefull for anyone who would potentialy extract them from binary.

Index

Constants

This section is empty.

Variables

View Source
var EventListenerCreds string
View Source
var EventPublisherCreds string

For publishing mantil events. Created with: nsc add user -n event-publisher --allow-pub mantil.events --deny-sub '*'

View Source
var LogsListenerCreds string

Created with: nsc add user -n logs-listener --allow-sub '_INBOX.>' --deny-pub '*'

View Source
var LogsPublisherCreds string

Publisher and subscriber of log from lambda function execution. Listener creates subject and sends it to the publisher. Publisher can only publish to inboxes. Created with: nsc add user -n logs-publisher --allow-pub '_INBOX.>' --deny-sub '*'

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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