#NEWLINE# def index( self , req , server_id ) : #NEWLINE# #INDENT# context = req . environ [ 'nova.context' ] #NEWLINE# authorize ( context ) #NEWLINE# instance = common . get_instance ( self . compute_api , context , server_id ) #NEWLINE# passw = password . extract_password ( instance ) #NEWLINE# return { #NEWLINE# #INDENT# 'password' : ( passw or '' ) , #NEWLINE# #UNINDENT# }