Get-ITGluePassword

SYNOPSIS

List all passwords in your account / List all passwords for a particular organization / Retrieve a password / Retrieve a password for a particular organization

SYNTAX

List (Default)

Get-ITGluePassword [-FilterArchived <bool>] [-FilterCachedResourceName <string>] [-FilterId <long>]
 [-FilterName <string>] [-FilterOrganizationId <long>] [-FilterPasswordCategoryId <long>]
 [-FilterPasswordFolderId <long>] [-FilterUrl <string>] [-Include <string>] [-PageNumber <long>]
 [-PageSize <long>] [-Sort <string>] [-AllResults] [-Raw]

ByOrganizationById

Get-ITGluePassword [-OrganizationId] <long> [-Id] <long> [-Include <string>] [-ShowPassword <bool>]
 [-VersionId <long>] [-Raw]

ByOrganization

Get-ITGluePassword [-OrganizationId] <long> [-FilterArchived <bool>]
 [-FilterCachedResourceName <string>] [-FilterId <long>] [-FilterName <string>]
 [-FilterOrganizationId <long>] [-FilterPasswordCategoryId <long>] [-FilterPasswordFolderId <long>]
 [-FilterUrl <string>] [-Include <string>] [-PageNumber <long>] [-PageSize <long>] [-Sort <string>]
 [-AllResults] [-Raw]

ById

Get-ITGluePassword [-Id] <long> [-Include <string>] [-ShowPassword <bool>] [-VersionId <long>]
 [-Raw]

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

Parameter set [ List ] - The Get-ITGluePassword cmdlet invokes the GET method of the /passwords endpoint (List all passwords in your account)

Returns a list of passwords for all organizations or for a specified organization.

Use ‘filter[password_folder_id]’ to scope passwords by folder. Passing ‘null’ or an empty value returns all passwords, ‘0’ returns root folder passwords, and a positive folder id returns passwords in that folder.

Example return value:

{ “data”: [ { “id”: “54”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/541”, “restricted”: false, “my-glue”: false, “name”: “Office 365 Admin”, “autofill-selectors”: null, “username”: “tech@happyfrog.itglue.com”, “url”: “https://login.itglue.com/”, “notes”: “Admin account for all Office 365 users at Happy Frog.”, “password-updated-at”: “2017-08-24T00:34:40.000Z”, “updated-by”: 4444, “resource-id”: null, “resource-type”: null, “cached-resource-type-name”: null, “cached-resource-name”: null, “password-category-id”: 15, “password-category-name”: “Cloud”, “created-at”: “2014-07-02T21:36:45.000Z”, “updated-at”: “2018-01-30T22:32:34.000Z” } }, { “id”: “69”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/6970”, “restricted”: true, “my-glue”: false, “name”: “Pre-Shared Key”, “autofill-selectors”: null, “username”: null, “url”: null, “notes”: null, “password-updated-at”: “2016-07-25T21:06:00.000Z”, “updated-by”: null, “resource-id”: 28631, “resource-type”: “flexible-asset-trait”, “cached-resource-type-name”: “Wireless”, “cached-resource-name”: “Detroit Office Wireless”, “password-category-id”: null, “password-category-name”: null, “created-at”: “2014-12-15T18:09:34.000Z”, “updated-at”: “2018-01-30T22:34:16.000Z” } }, { “id”: “177”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/17702”, “restricted”: false, “my-glue”: false, “name”: “GoDaddy SSL Account”, “autofill-selectors”: null, “username”: “admin”, “url”: “https://example.com”, “notes”: null, “password-updated-at”: “2017-08-01T19:08:24.000Z”, “updated-by”: 4444, “resource-id”: null, “resource-type”: null, “cached-resource-type-name”: null, “cached-resource-name”: null, “password-category-id”: 15, “password-category-name”: “Cloud”, “created-at”: “2015-03-05T16:25:40.000Z”, “updated-at”: “2018-01-30T22:32:40.000Z” } }, { “id”: “222”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/222232”, “restricted”: false, “my-glue”: false, “name”: “UPS Web Interface”, “autofill-selectors”: null, “username”: “administrator”, “password”: “p4ssw0rd”, “url”: “http://10.10.10.5:5020”, “notes”: null, “password-updated-at”: “2015-12-16T00:56:49.000Z”, “updated-by”: 44234, “resource-id”: 2282563, “resource-type”: “Configuration”, “cached-resource-type-name”: “Configuration”, “cached-resource-name”: “HF-SF-UPS01”, “password-category-id”: null, “password-category-name”: null, “created-at”: “2015-12-16T00:56:49.000Z”, “updated-at”: “2017-12-22T12:31:40.000Z” } } ] }

Parameter set [ ByOrganization ] - The Get-ITGluePassword cmdlet invokes the GET method of the /organizations/{organization_id}/relationships/passwords endpoint (List all passwords for a particular organization)

Returns a list of passwords for all organizations or for a specified organization.

Use ‘filter[password_folder_id]’ to scope passwords by folder. Passing ‘null’ or an empty value returns all passwords, ‘0’ returns root folder passwords, and a positive folder id returns passwords in that folder.

Example return value:

{ “data”: [ { “id”: “54”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/541”, “restricted”: false, “my-glue”: false, “name”: “Office 365 Admin”, “autofill-selectors”: null, “username”: “tech@happyfrog.itglue.com”, “url”: “https://login.itglue.com/”, “notes”: “Admin account for all Office 365 users at Happy Frog.”, “password-updated-at”: “2017-08-24T00:34:40.000Z”, “updated-by”: 4444, “resource-id”: null, “resource-type”: null, “cached-resource-type-name”: null, “cached-resource-name”: null, “password-category-id”: 15, “password-category-name”: “Cloud”, “created-at”: “2014-07-02T21:36:45.000Z”, “updated-at”: “2018-01-30T22:32:34.000Z” } }, { “id”: “69”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/6970”, “restricted”: true, “my-glue”: false, “name”: “Pre-Shared Key”, “autofill-selectors”: null, “username”: null, “url”: null, “notes”: null, “password-updated-at”: “2016-07-25T21:06:00.000Z”, “updated-by”: null, “resource-id”: 28631, “resource-type”: “flexible-asset-trait”, “cached-resource-type-name”: “Wireless”, “cached-resource-name”: “Detroit Office Wireless”, “password-category-id”: null, “password-category-name”: null, “created-at”: “2014-12-15T18:09:34.000Z”, “updated-at”: “2018-01-30T22:34:16.000Z” } }, { “id”: “177”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/17702”, “restricted”: false, “my-glue”: false, “name”: “GoDaddy SSL Account”, “autofill-selectors”: null, “username”: “admin”, “url”: “https://example.com”, “notes”: null, “password-updated-at”: “2017-08-01T19:08:24.000Z”, “updated-by”: 4444, “resource-id”: null, “resource-type”: null, “cached-resource-type-name”: null, “cached-resource-name”: null, “password-category-id”: 15, “password-category-name”: “Cloud”, “created-at”: “2015-03-05T16:25:40.000Z”, “updated-at”: “2018-01-30T22:32:40.000Z” } }, { “id”: “222”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/222232”, “restricted”: false, “my-glue”: false, “name”: “UPS Web Interface”, “autofill-selectors”: null, “username”: “administrator”, “password”: “p4ssw0rd”, “url”: “http://10.10.10.5:5020”, “notes”: null, “password-updated-at”: “2015-12-16T00:56:49.000Z”, “updated-by”: 44234, “resource-id”: 2282563, “resource-type”: “Configuration”, “cached-resource-type-name”: “Configuration”, “cached-resource-name”: “HF-SF-UPS01”, “password-category-id”: null, “password-category-name”: null, “created-at”: “2015-12-16T00:56:49.000Z”, “updated-at”: “2017-12-22T12:31:40.000Z” } } ] }

Parameter set [ ById ] - The Get-ITGluePassword cmdlet invokes the GET method of the /passwords/{id} endpoint (Retrieve a password)

Returns the details of an existing password.

Example return value:

{ “data”: { “id”: “54”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/541”, “restricted”: false, “my-glue”: false, “name”: “Office 365 Admin”, “autofill-selectors”: null, “username”: “tech@happyfrog.itglue.com”, “password”: “p4ssw0rd”, “url”: “https://login.itglue.com/”, “notes”: “Admin account for all Office 365 users at Happy Frog.”, “password-updated-at”: “2017-08-24T00:34:40.000Z”, “updated-by”: 4444, “resource-id”: null, “resource-type”: null, “cached-resource-type-name”: null, “cached-resource-name”: null, “password-category-id”: 15, “password-category-name”: “Cloud”, “created-at”: “2014-07-02T21:36:45.000Z”, “updated-at”: “2018-01-30T22:32:34.000Z”, “is-live”: true } } }

Parameter set [ ByOrganizationById ] - The Get-ITGluePassword cmdlet invokes the GET method of the /organizations/{organization_id}/relationships/passwords/{id} endpoint (Retrieve a password for a particular organization)

Returns the details of an existing password.

Example return value:

{ “data”: { “id”: “54”, “type”: “passwords”, “attributes”: { “organization-id”: 2, “organization-name”: “Happy Frog”, “resource-url”: “http://example.com/1013/passwords/541”, “restricted”: false, “my-glue”: false, “name”: “Office 365 Admin”, “autofill-selectors”: null, “username”: “tech@happyfrog.itglue.com”, “password”: “p4ssw0rd”, “url”: “https://login.itglue.com/”, “notes”: “Admin account for all Office 365 users at Happy Frog.”, “password-updated-at”: “2017-08-24T00:34:40.000Z”, “updated-by”: 4444, “resource-id”: null, “resource-type”: null, “cached-resource-type-name”: null, “cached-resource-name”: null, “password-category-id”: 15, “password-category-name”: “Cloud”, “created-at”: “2014-07-02T21:36:45.000Z”, “updated-at”: “2018-01-30T22:32:34.000Z”, “is-live”: true } } }

EXAMPLES

EXAMPLE 1

Get-ITGluePassword

Returns the result of the /passwords endpoint

EXAMPLE 2

Get-ITGluePassword -PageNumber 2 -PageSize 10

Returns the second page of 10 items from the /passwords endpoint

EXAMPLE 3

Get-ITGluePassword -AllResults

Returns every item from the /passwords endpoint by requesting every page of the results

EXAMPLE 4

Get-ITGluePassword -OrganizationId 12345

Returns the result of the /organizations/{organization_id}/relationships/passwords endpoint

EXAMPLE 5

Get-ITGluePassword -OrganizationId 12345 -PageNumber 2 -PageSize 10

Returns the second page of 10 items from the /organizations/{organization_id}/relationships/passwords endpoint

EXAMPLE 6

Get-ITGluePassword -OrganizationId 12345 -AllResults

Returns every item from the /organizations/{organization_id}/relationships/passwords endpoint by requesting every page of the results

EXAMPLE 7

Get-ITGluePassword -Id 12345

Returns the result of the /passwords/{id} endpoint

EXAMPLE 8

Get-ITGluePassword -OrganizationId 12345 -Id 12345

Returns the result of the /organizations/{organization_id}/relationships/passwords/{id} endpoint

PARAMETERS

-AllResults

Returns all items from the endpoint by requesting every page of the results

When PageSize is not defined 1000 items are requested with each page

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterArchived

Filter by archived

Type: System.Boolean
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterCachedResourceName

Filter by cached resource name

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterId

Filter by id

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterName

Filter by name

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterOrganizationId

Filter by organization id

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterPasswordCategoryId

Filter by password category id

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterPasswordFolderId

Filter by password folder id

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-FilterUrl

Filter by url

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Id

Defines the ID of the item

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganizationById
  Position: 1
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ById
  Position: 0
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Include

Notes: Comma separated values

Allowed values: ‘network_glue_networks’, ‘attachments’, ‘rotatable_password’, ‘updater’, ‘shared_links’, ‘active_shared_links’, ‘user_resource_accesses’, ‘group_resource_accesses’

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganizationById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-OrganizationId

Only required for nested relationships route

Notes: Must be a valid Organization Id in your Account

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases:
- organization_id
ParameterSets:
- Name: ByOrganizationById
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
- Name: ByOrganization
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-PageNumber

Defines the page number to return

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-PageSize

Defines the number of items to return with each page

The maximum page size is 1000

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Raw

Returns the full API response (data, meta, links, & included) instead of only the data

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-ShowPassword

defaults to ‘true’, Can be set to ‘false’ to not return the password

Type: System.Boolean
DefaultValue: False
SupportsWildcards: false
Aliases:
- show_password
ParameterSets:
- Name: ByOrganizationById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Sort

Notes: To Invert order use -, eg: -name Comma separated values

Allowed values: ‘name’, ‘username’, ‘url’, ‘id’, ‘created_at’, ‘updated_at’

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByOrganization
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: List
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-VersionId

Set the password’s version ID to return it’s revision

Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases:
- version_id
ParameterSets:
- Name: ByOrganizationById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
- Name: ById
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.Int64

OUTPUTS

NOTES

Endpoint : GET /passwords Endpoint : GET /organizations/{organization_id}/relationships/passwords Endpoint : GET /passwords/{id} Endpoint : GET /organizations/{organization_id}/relationships/passwords/{id}