func (r *ReconcileTenant) GenerateVaultToken() (string, error) {
	token, err := r.GetAuthorizationTokenfromSecret("default", "tenant-controller-secret")
	if err != nil {
		log.Info("Not able to token from tenant secret for vault ")
		return "", err
	}
	fmt.Printf("\n----------------\nvault token is :%v\n", token)
	return token, nil
}
//To talk to vault generate a per tenancy secret token with Service account. Use this
// as interface with vault
To talk to vault generate a per tenancy secret token with Service account. Use this
as interface with vault
// To talk to vault generate a per tenancy secret token with Service account . Use this // as interface with vault
func (r *ReconcileTenant) GenerateVaultToken() (string, error) {
	token, err := r.GetAuthorizationTokenfromSecret("default", "tenant-controller-secret")
	if err != nil {
		log.Info("Not able to token from tenant secret for vault ")
		return "", err
	}
	fmt.Printf("\n----------------\nvault token is :%v\n", token)
	return token, nil
}
func ( r * ReconcileTenant ) GenerateVaultToken ( ) ( string , error ) { token , err := r . GetAuthorizationTokenfromSecret ( " " , " " ) if err != nil { log . Info ( " " ) return " " , err } fmt . Printf ( " \n \n \n " , token ) return token , nil }
To talk to vault generate a per tenancy secret token with Service account.
To talk to vault generate a per tenancy secret token with Service account .