package a8rcloud

import (
	"github.com/telepresenceio/telepresence/rpc/v2/manager"
)

// API key descriptions to use when requesting API keys from Ambassador Cloud.
const (
	KeyDescWorkstation    = "laptop"
	KeyDescTrafficManager = "manager"
)

func KeyDescAgent(spec *manager.InterceptSpec) string {
	return "agent-" + spec.Mechanism
}

package a8rcloud

import (
	"github.com/telepresenceio/telepresence/rpc/v2/manager"
)

// API key descriptions to use when requesting API keys from Ambassador Cloud.
const (
	KeyDescWorkstation    = "telepresence:workstation"
	KeyDescTrafficManager = "telepresence:traffic-manager"
)

func KeyDescAgent(spec *manager.InterceptSpec) string {
	return "telepresence:agent-" + spec.Mechanism
}

Use slightly more explicit API key descriptions
pkg/a8rcloud: Use slightly more explicit API key descriptions

Signed-off-by: Luke Shumaker <1abe3165bcc8c29e8b31e5c88636540fb9350004@datawire.io>
