package gokeys // Service type describes a credential that needs to be stored // in the GoKeys keyring. type Service struct { Name string Label string Description string } // Define new keyring data that needs to be install into the Gokeys keychain here var ( // SvcSSO is an exportable type that describes the keyring data for // an SSO user/password SvcSSO = Service{ Name: "com.rackspace.gokeys.sso", Label: "Rackspace SSO", Description: "Keyring to store Rackspace Single Sign-On credentials", } // SvcACS is an exportable type that describes the keyring data for // a TACACS user/password. SvcACS = Service{ Name: "com.rackspace.gokeys.acs", Label: "Rackspace NetSec ISE", Description: "Keyring to store TACACS credentials", } // SvcIdentity is an exportable type that describes the keyring data for // a Identity Token SvcIdentity = Service{ Name: "com.rackspace.gokeys.identity", Label: "Rackspace Identity Services", Description: "Keyring to store Rackspace Identity services token values", } // SvcCore is an exportable type that describes the keyring data for // a CORE Token SvcCore = Service{ Name: "com.rackspace.gokeys.core", Label: "Rackspace CORE", Description: "Keyring to store Rackspace CORE authentication token", } // SvcIdentityStg is an exportable type that describes the keyring data for // a Identity Staging Token SvcIdentityStg = Service{ Name: "com.rackspace.gokeys.staging.identity", Label: "Rackspace Identity Services Staging", Description: "Keyring to store Rackspace Staging Identity services token values", } // SvcCoreStg is an exportable type that describes the keyring data for // a CORE Staging Token SvcCoreStg = Service{ Name: "com.rackspace.gokeys.staging.core", Label: "Rackspace CORE Staging", Description: "Keyring to store Rackspace Staging CORE authentication token", } // SvcAll is an exportable type that describes the keyring data for // that can be used when access all Gokeys in a keychain SvcAll = Service{ Name: "com.rackspace.gokeys.*", } // svcSlice declaration is used for functions that match the SvcAll type. svcSlice = []Service{ SvcSSO, SvcCore, SvcCoreStg, SvcIdentity, SvcIdentityStg, SvcACS, } )